org.apache.camel.impl
Class NoPolicy

java.lang.Object
  extended by org.apache.camel.impl.NoPolicy
All Implemented Interfaces:
Policy

public class NoPolicy
extends Object
implements Policy

Represents an Policy which adds no interceptors.

Version:
$Revision: 761894 $

Constructor Summary
NoPolicy()
           
 
Method Summary
 Processor wrap(RouteContext routeContext, Processor processor)
          Wraps any applicable interceptors around the given processor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoPolicy

public NoPolicy()
Method Detail

wrap

public Processor wrap(RouteContext routeContext,
                      Processor processor)
Description copied from interface: Policy
Wraps any applicable interceptors around the given processor

Specified by:
wrap in interface Policy
Parameters:
routeContext - the route context
processor - the processor to be intercepted
Returns:
either the original processor or a processor wrapped in one or more interceptors


Apache CAMEL