Interface CorrelatorFactory<C extends Correlator,CB extends AbstractCorrelatorType>

Type Parameters:
C - class of correlators instantiated
CB - 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 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

      @NotNull @NotNull Class<CB> getConfigurationBeanType()
      Returns the type of configuration bean supported by this factory.