org.apache.camel.impl
Class NoInterceptor<E>

java.lang.Object
  extended by org.apache.camel.impl.NoInterceptor<E>
All Implemented Interfaces:
Interceptor<E>

public class NoInterceptor<E>
extends Object
implements Interceptor<E>

Represents an Interceptor which adds no interceptors.

Version:
$Revision: 1.1 $

Constructor Summary
NoInterceptor()
           
 
Method Summary
 Processor<E> addIntercetors(Processor<E> processor)
          Adds any applicable interceptors to the given processor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoInterceptor

public NoInterceptor()
Method Detail

addIntercetors

public Processor<E> addIntercetors(Processor<E> processor)
Description copied from interface: Interceptor
Adds any applicable interceptors to the given processor

Specified by:
addIntercetors in interface Interceptor<E>
Parameters:
processor - the processor to be intercepted
Returns:
either the original processor or a processor wrapped in one or more interceptors


Copyright © 2007 Apache Software Foundation. All Rights Reserved.