Interface CorrelatorFactory<C extends Correlator,CB extends AbstractCorrelatorType>

Type Parameters:
C - class of correlators instantiated
CB - class of correlator configuration bean

public interface CorrelatorFactory<C extends Correlator,CB extends AbstractCorrelatorType>
Instantiates configured correlators.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Class<CB>
    Returns the type of configuration bean supported by this factory.
    instantiate(@NotNull CorrelatorContext<CB> configuration, @NotNull com.evolveum.midpoint.task.api.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 com.evolveum.midpoint.task.api.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.