org.apache.camel
Class CompositeProcessor<E>

java.lang.Object
  extended by org.apache.camel.CompositeProcessor<E>
All Implemented Interfaces:
Processor<E>

public class CompositeProcessor<E>
extends Object
implements Processor<E>

Represents a composite pattern, aggregating a collection of processors together as a single processor

Version:
$Revision: 519997 $

Constructor Summary
CompositeProcessor(Collection<Processor<E>> processors)
           
 
Method Summary
 Collection<Processor<E>> getProcessors()
           
 void onExchange(E exchange)
          Processes the message exchange
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompositeProcessor

public CompositeProcessor(Collection<Processor<E>> processors)
Method Detail

onExchange

public void onExchange(E exchange)
Description copied from interface: Processor
Processes the message exchange

Specified by:
onExchange in interface Processor<E>

toString

public String toString()
Overrides:
toString in class Object

getProcessors

public Collection<Processor<E>> getProcessors()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.