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

All Known Implementing Classes:
NoInterceptor

public interface Interceptor<E>

A strategy capable of applying interceptors to a processor

Version:
$Revision: 1.1 $

Method Summary
 Processor<E> addIntercetors(Processor<E> processor)
          Adds any applicable interceptors to the given processor
 

Method Detail

addIntercetors

Processor<E> addIntercetors(Processor<E> processor)
Adds any applicable interceptors to 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 © 2007 Apache Software Foundation. All Rights Reserved.