Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.api.interceptor
Interface Interceptor

All Superinterfaces:
  InterceptingMessageProcessor, MessageProcessor, MessageSource

All Known Implementing Classes:
  AbstractEnvelopeInterceptor, InterceptorStack, LoggingInterceptor, TimerInterceptor

    public interface Interceptor

extends InterceptingMessageProcessor

`Interceptor` is based on a similar concept of servlet filters and works much the same way. This method is more commonally known as the interceptor pattern and it allows for pre and processing of invocations on the object being intercepted.

Method Summary
`MuleEvent` | `process(MuleEvent event)` Invoked when the component should be called.

Methods inherited from interface org.mule.api.source.MessageSource
`setListener`

Method Detail

### process

    MuleEvent process(MuleEvent event)
                      throws MuleException

  Invoked when the component should be called. The implementation can call next.process(event) to call the component or the next filer in the chain.

  Specified by:
    `process` in interface `MessageProcessor`
  Parameters:
    `event` - the event containing info about the current message and service
  Returns:
    A result message that may have been altered by this invocation
  Throws:
    `MuleException` - if the invocation fails

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.