org.apache.camel.impl
Class NoPolicy
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoPolicy
public NoPolicy()
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 contextprocessor
- the processor to be intercepted
- Returns:
- either the original processor or a processor wrapped in one or more interceptors
Apache CAMEL