org.apache.camel.processor
Class InterceptorProcessor<E>

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.processor.InterceptorProcessor<E>
All Implemented Interfaces:
Processor<E>, Service

public class InterceptorProcessor<E>
extends ServiceSupport
implements Processor<E>

Version:
$Revision: 519941 $

Field Summary
protected  Processor<E> next
           
 
Constructor Summary
InterceptorProcessor()
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 Processor<E> getNext()
           
 void process(E exchange)
          Processes the message exchange
 void setNext(Processor<E> next)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
isStarted, isStopped, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

next

protected Processor<E> next
Constructor Detail

InterceptorProcessor

public InterceptorProcessor()
Method Detail

process

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

Specified by:
process in interface Processor<E>

toString

public String toString()
Overrides:
toString in class Object

getNext

public Processor<E> getNext()

setNext

public void setNext(Processor<E> next)

doStart

protected void doStart()
                throws Exception
Specified by:
doStart in class ServiceSupport
Throws:
Exception

doStop

protected void doStop()
               throws Exception
Specified by:
doStop in class ServiceSupport
Throws:
Exception


Copyright © 2007 Apache Software Foundation. All Rights Reserved.