Class CorrelatorFactoryRegistryImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.correlator.CorrelatorFactoryRegistryImpl
-
- All Implemented Interfaces:
CorrelatorFactoryRegistry
@Component public class CorrelatorFactoryRegistryImpl extends Object implements CorrelatorFactoryRegistry
-
-
Constructor Summary
Constructors Constructor Description CorrelatorFactoryRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <CB extends AbstractCorrelatorType>
@NotNull CorrelatorinstantiateCorrelator(@NotNull CorrelatorContext<CB> correlatorContext, @NotNull Task task, @NotNull OperationResult result)Convenience method to look up a correlator factory based on the specific (typed) configuration, and then instantiate the correlator.voidregisterFactory(@NotNull QName name, @NotNull CorrelatorFactory<?,?> factory)Registers a correlator factory.
-
-
-
Method Detail
-
registerFactory
public void registerFactory(@NotNull @NotNull QName name, @NotNull @NotNull CorrelatorFactory<?,?> factory)Description copied from interface:CorrelatorFactoryRegistryRegisters a correlator factory. Typically called from a `@PostConstruct` method.- Specified by:
registerFactoryin interfaceCorrelatorFactoryRegistry- Parameters:
name- Name of the configuration item. Must be qualified.
-
instantiateCorrelator
@NotNull public <CB extends AbstractCorrelatorType> @NotNull Correlator instantiateCorrelator(@NotNull @NotNull CorrelatorContext<CB> correlatorContext, @NotNull @NotNull 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
-
-