org.apache.camel.spi
Interface Policy<E>

All Known Implementing Classes:
NoPolicy

public interface Policy<E>

A strategy capable of applying interceptors to a processor

Version:
$Revision: 630568 $

Method Summary
 Processor wrap(Processor processor)
          Wraps any applicable interceptors around the given processor
 

Method Detail

wrap

Processor wrap(Processor processor)
Wraps any applicable interceptors around the given processor

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.