Class WorkDefinitionFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.activity.definition.WorkDefinitionFactory
-
@Component public class WorkDefinitionFactory extends Object
CreatesWorkDefinition
instances from their serialized form, either "new" (activity definition bean) or "legacy" (task extension).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
WorkDefinitionFactory.WorkDefinitionSupplier
-
Constructor Summary
Constructors Constructor Description WorkDefinitionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerSupplier(QName typeName, String legacyHandlerUri, WorkDefinitionFactory.WorkDefinitionSupplier supplier)
Takes care of registering legacy URI in the generic task handler as well.void
unregisterSupplier(QName typeName, String legacyHandlerUri)
-
-
-
Method Detail
-
registerSupplier
public void registerSupplier(QName typeName, String legacyHandlerUri, WorkDefinitionFactory.WorkDefinitionSupplier supplier)
Takes care of registering legacy URI in the generic task handler as well.
-
-