2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Jakarta > HiveMind
Font size:      

hivemind.lib.ChainFactory Service

The ChainFactory service implementation factory is based on hivemind.lib.ChainBuilder. The chain's command interface is the service interface, and the service parameters identify the configuration that identifies the chain of commands.


The factory expects a single parameter element:

<construct configuration-id="..."/>      

The configuration-id identifies a configuration that implements the hivemind.lib.ChainContribution schema.


The configuration identifies the command objects that form the chain, including the order of the commands:

<command id="..." before="..." after="..." object="..."/>

Each command has an id (which is qualified with the module id) and may specify a list of commands which precede or follow it.

The object is specified as an object reference.