Previous Topic

Next Topic

Book Contents

Book Index

Handlers

The Handlers give possibility to Automation module to execute the rules in common generic way. They provide the specific logic needed for processing a concrete instruction. They have been registered as OSGi services so the Automation Admin can trace them and provide them to the rules. They can be used for more than one instruction but some of them are factories. The Handler Factories are also registered as services in OSGi framework but they are used to create a handler per trigger instruction.

All handlers, the singletons and the factories, provide the metadata for:

The factories can also be used for:

Registering Bundles

The Automation module bundles register handlers as follows:

Automation Handler Core Bundle

The Automation module provides several handlers registered as service components by the Automation Handler Core bundle – com.prosyst.mbs.automation.handler.core:

Dependencies:

Automation Handler History Bundle

The Automation Handler History bundle – com.prosyst.mbs.automation.handler.history, registers ActionHandler service as follows:

Dependencies:

The History Handlers' depend on com.prosyst.mbs.services.history.HistoryAdmin service.

Automation Handler Script Bundle

The Automation Handler Script bundle – com.prosyst.mbs.automation.handler.script, registers:

Dependencies:

The Script Handlers depend on com.prosyst.mbs.services.scripting.OSGiScriptEngineManager service.

See also