Chain Factory Service

The ChainFactory service implementation factory is based ongaderian.utilitiesChainBuilder. The chain's command interface is the service interface, and the service parameters identify the configuration that identifies the chain of commands.

Usage

The factory expects a single parameter element:

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

The configuration-id identifies a configuration that implements the gaderian.utilitiesChainContribution schema.

Configuration

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 anobject reference.