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

For more information, please explore the Attic.

Module hivemind.lib
Back to master index

[public] Service Point hivemind.lib.PipelineFactory Interface: org.apache.hivemind.ServiceImplementationFactory
A service implementation factory that assembles a pipeline of filters into a service.
Parameters occurs: 1
Parameters Schema
Element <create-pipeline>
Attribute configuration-id (required) Translator: configuration
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) Translator: class
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 Translator: object
Optional terminator. May also be provided in the configuration. If in neither, a placeholder is provided.
Conversion Rules
<conversion class="pipeline.PipelineParameters" >
  • <map attribute="configuration-id" property="pipelineConfiguration" />
</conversion>
Implementation
  • <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
    • <construct class="pipeline.PipelineFactory" >
      • <set-service property="classFactory" service-id="hivemind.ClassFactory" />
      • <set-service property="defaultImplementationBuilder" service-id="DefaultImplementationBuilder" />
      </construct>
    </invoke-factory>

Module hivemind.lib
Back to master index