org.mule.umo
Interface UMOInterceptor
- All Known Subinterfaces:
- LifecycleInterceptor, UMOLifecycleAdapter
- All Known Implementing Classes:
- DefaultLifecycleAdapter, EnvelopeInterceptor, 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.
- Version:
- $Revision: 1.2 $
- Author:
- Ross Mason
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-2005 SymphonySoft Limited. All Rights Reserved.