Class GettableChangesCollectorProvider
- java.lang.Object
-
- de.hybris.platform.outboundsync.job.impl.GettableChangesCollectorProvider
-
- All Implemented Interfaces:
ChangesCollectorProvider<GettableChangesCollector>
@Deprecated(since="1905.2003-CEP", forRemoval=true) public class GettableChangesCollectorProvider extends java.lang.Object implements ChangesCollectorProvider<GettableChangesCollector>Deprecated, for removal: This API element is subject to removal in a future version.not used anymore. Replaced byChangesCollectorFactoryAChangesCollectorProviderthat providesGettableChangesCollectors. The user of this ChangesCollectorProvider needs to supply the full class name of the GettableChangesCollector to instantiate when callinggetCollector().
-
-
Constructor Summary
Constructors Constructor Description GettableChangesCollectorProvider()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected GettableChangesCollectorcreateCollector(java.lang.Class clazz)Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of theclazzprovided.protected GettableChangesCollectordefaultCollector()Deprecated, for removal: This API element is subject to removal in a future version.Returns the defaultGettableChangesCollectorGettableChangesCollectorgetCollector()Deprecated, for removal: This API element is subject to removal in a future version.Gets a new instance of theGettableChangesCollector.protected java.lang.ClassgetCollectorClass(java.lang.String collectorClassName)Deprecated, for removal: This API element is subject to removal in a future version.Gets the class for the supplied collector class name.voidsetCollectorClass(java.lang.String collectorClassName)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getCollector
public GettableChangesCollector getCollector()
Deprecated, for removal: This API element is subject to removal in a future version.Gets a new instance of theGettableChangesCollector. If the collector class name supplied can't be instantiated dynamically, this method tries to instantiate theInMemoryGettableChangesCollector- Specified by:
getCollectorin interfaceChangesCollectorProvider<GettableChangesCollector>- Returns:
- A GettableChangesCollector
-
getCollectorClass
protected java.lang.Class getCollectorClass(java.lang.String collectorClassName)
Deprecated, for removal: This API element is subject to removal in a future version.Gets the class for the supplied collector class name. The class must also be assignable toGettableChangesCollector.- Returns:
- Collector class or null if the class fails to load or not assignable.
-
createCollector
protected GettableChangesCollector createCollector(java.lang.Class clazz)
Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of theclazzprovided. If the instantiation fails thedefaultCollector()is returned- Parameters:
clazz- Class to instantiate- Returns:
- An instance of a
GettableChangesCollector
-
defaultCollector
protected GettableChangesCollector defaultCollector()
Deprecated, for removal: This API element is subject to removal in a future version.Returns the defaultGettableChangesCollector- Returns:
- An instance of GettableChangesCollector
-
setCollectorClass
public void setCollectorClass(java.lang.String collectorClassName)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-