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:
Correlator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Class<CB>
getConfigurationBeanType()
Returns the type of configuration bean supported by this factory.C
instantiate(@NotNull CorrelatorContext<CB> configuration, @NotNull Task task, @NotNull OperationResult result)
Instantiates correlator of given type with provided configuration.
-
-
-
Method Detail
-
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.- Throws:
ConfigurationException
-
-