ModuleHandlerinstances. It is used for creating and disposing the
ActionHandlers needed for the operation of the
Modules included in
ModuleHandlerFactory implementations must be registered as services in the OSGi framework.
- Yordan Mihaylov - Initial contribution, Benedikt Niehues - change behavior for unregistering ModuleHandler
getTypesReturns the UIDs of the module types currently supported by this factory. A
ModuleHandlerFactoryinstance can add new types to this list, but should not remove. If a module type is no longer supported, the
ModuleHandlerFactoryservice must be unregistered, and then registered again with the new list.
If two or more
ModuleHandlerFactorys support the same module type, the Rule Engine will choose one of them randomly. Once a factory is chosen, it will be used to create instances of this module type until its service is unregistered.
- collection of module type UIDs supported by this factory.
ModuleHandlerinstance when it is not needed anymore for handling the specified
Rulewith the specified
ruleUID. If no other
Modules use this
handlerinstance, it should be disposed.