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

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

public class NoPolicy<E>
extends Object
implements Policy<E>

Represents an Policy which adds no interceptors.

Version:
$Revision: 630591 $

Constructor Summary
NoPolicy()
           
 
Method Summary
 Processor wrap(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(Processor processor)
Description copied from interface: Policy
Wraps any applicable interceptors around the given processor

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


Copyright © 2009 Apache Software Foundation. All Rights Reserved.