org.apache.hivemind.lib.pipeline
Class TerminatorContribution

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.hivemind.lib.pipeline.TerminatorContribution
All Implemented Interfaces:
PipelineContribution, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class TerminatorContribution
extends org.apache.hivemind.impl.BaseLocatable
implements PipelineContribution

Contribution used to set the terminator for a service. A pipeline may only have a single terminator, extras are logged and ignored. This may also be set when invoking the PipelineFactory.

Author:
Howard Lewis Ship

Constructor Summary
TerminatorContribution()
           
 
Method Summary
 void informAssembler(PipelineAssembler pa)
          Invoke PipelineAssembler.addFilter(String, String, String, Object, Location) or PipelineAssembler.setTerminator(Object, Location).
 void setTerminator(java.lang.Object object)
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminatorContribution

public TerminatorContribution()
Method Detail

informAssembler

public void informAssembler(PipelineAssembler pa)
Description copied from interface: PipelineContribution
Invoke PipelineAssembler.addFilter(String, String, String, Object, Location) or PipelineAssembler.setTerminator(Object, Location).

Specified by:
informAssembler in interface PipelineContribution

setTerminator

public void setTerminator(java.lang.Object object)