|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.interceptors.InterceptorStack
Maintains a list of interceptors that can be applied to components
| Constructor Summary | |
InterceptorStack()
|
|
InterceptorStack(List interceptors)
|
|
| Method Summary | |
void |
dispose()
A lifecycle method where implementor should free up any resources. |
List |
getInterceptors()
|
void |
initialise()
Method used to perform any initialisation work. |
UMOMessage |
intercept(Invocation invocation)
Invoked by the previous interceptor in the chain |
void |
setInterceptors(List interceptors)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InterceptorStack()
public InterceptorStack(List interceptors)
| Method Detail |
public UMOMessage intercept(Invocation invocation)
throws UMOException
UMOInterceptor
intercept in interface UMOInterceptorinvocation - the invocation containing info about the current message and
component
UMOException - if the invocation failspublic List getInterceptors()
getInterceptors in interface UMOInterceptorStackpublic void setInterceptors(List interceptors)
public void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
initialise in interface InitialisableInitialisationException - if a fatal error occurs causing the Mule
instance to shutdownpublic void dispose()
Disposable
dispose in interface Disposable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||