org.mule.umo
Interface UMOInterceptor
- All Known Subinterfaces:
- LifecycleInterceptor, UMOInterceptorStack, UMOLifecycleAdapter
- All Known Implementing Classes:
- DefaultLifecycleAdapter, EnvelopeInterceptor, InterceptorStack, MessageNormalizerInterceptor, TimerInterceptor
- public interface UMOInterceptor
UMOInterceptor
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.
intercept
public UMOMessage intercept(Invocation invocation)
throws UMOException
- Invoked by the previous interceptor in the chain
- Parameters:
invocation
- the invocation containing info about the current message and
component
- Returns:
- A result message that may have been altered by this invocation
- Throws:
UMOException
- if the invocation fails
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.