Interface CorrelatorFactoryRegistry
-
public interface CorrelatorFactoryRegistry
A registry of correlator factories.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <CB extends AbstractCorrelatorType>
@NotNull CorrelatorinstantiateCorrelator(@NotNull CorrelatorContext<CB> correlatorContext, @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result)
Convenience method to look up a correlator factory based on the specific (typed) configuration, and then instantiate the correlator.void
registerFactory(@NotNull QName name, @NotNull CorrelatorFactory<?,?> factory)
Registers a correlator factory.
-
-
-
Method Detail
-
registerFactory
void registerFactory(@NotNull @NotNull QName name, @NotNull @NotNull CorrelatorFactory<?,?> factory)
Registers a correlator factory. Typically called from a `@PostConstruct` method.- Parameters:
name
- Name of the configuration item. Must be qualified.
-
instantiateCorrelator
@NotNull <CB extends AbstractCorrelatorType> @NotNull Correlator instantiateCorrelator(@NotNull @NotNull CorrelatorContext<CB> correlatorContext, @NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) throws ConfigurationException
Convenience method to look up a correlator factory based on the specific (typed) configuration, and then instantiate the correlator.- Throws:
ConfigurationException
-
-