Interface CorrelatorFactory<C extends Correlator,CB extends AbstractCorrelatorType>
- Type Parameters:
C
- class of correlators instantiatedCB
- class of correlator configuration bean
- All Known Implementing Classes:
CompositeCorrelatorFactory
,ExpressionCorrelatorFactory
,FilterCorrelatorFactory
,IdMatchCorrelatorFactory
,ItemsCorrelatorFactory
,NoOpCorrelatorFactory
public interface CorrelatorFactory<C extends Correlator,CB extends AbstractCorrelatorType>
Instantiates configured correlators.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the type of configuration bean supported by this factory.instantiate
(@NotNull CorrelatorContext<CB> configuration, @NotNull Task task, @NotNull OperationResult result) Instantiates correlator of given type with provided configuration.
-
Method Details
-
instantiate
@NotNull C instantiate(@NotNull @NotNull CorrelatorContext<CB> configuration, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws ConfigurationException Instantiates correlator of given type with provided configuration. TODO consider deleting unused `task` parameter- Throws:
ConfigurationException
-
getConfigurationBeanType
Returns the type of configuration bean supported by this factory.
-