Back to index
Back to module hivemind.lib

Service hivemind.lib.PipelineFactory

Interfaceorg.apache.hivemind.ServiceImplementationFactory
Parameters Occursrequired
Visibility Public
A service implementation factory that assembles a pipeline of filters into a service.

Parameters Schema

Element create-pipeline
Attribute configuration-id Required
Translatorconfiguration
A configuration used to identify the filters (and optionally, the terminator) for the pipeline. The configuration should use the Pipeline schema.
Attribute filter-interface Required
Translatorclass
The filter interface should have the same methods as the service interface, with an additional parameter for each method with the same type as the service interface.
Attribute terminator Optional
Translatorobject
Optional terminator. May also be provided in the configuration. If in neither, a placeholder is provided.

Conversion Rules

  • <conversion class="org.apache.hivemind.lib.pipeline.PipelineParameters" >
    • <map attribute="configuration-id" property="pipelineConfiguration" />
    </conversion>

Implementation


Back to index
Back to module hivemind.lib