Back to index
Back to module hivemind.lib

Service hivemind.lib.PipelineFactory

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

Parameters Schema

Provides the factory with the filter interface that complements the service interface, the configuration data used to construct the pipeline and optionally, a terminator service for the pipeline.
Element create-pipeline
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 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 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