org.apache.geronimo.messaging.interceptors
Class ThrowableTrapOutInterceptor
java.lang.Object
org.apache.geronimo.messaging.interceptors.ThrowableTrapOutInterceptor
- All Implemented Interfaces:
- MsgOutInterceptor
- public class ThrowableTrapOutInterceptor
- extends Object
- implements MsgOutInterceptor
Throwables trap.
It pushes the received Msgs to its delegate. If its delegate throws a
Throwable, it traps it and notifies the associated ThrowableTrapHandler.
- Version:
- $Revision: 1.1 $ $Date: 2004/05/11 12:06:40 $
Method Summary |
void |
push(Msg aMsg)
Pushes a Msg. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThrowableTrapOutInterceptor
public ThrowableTrapOutInterceptor(MsgOutInterceptor anOut,
ThrowableTrapOutInterceptor.ThrowableTrapHandler anHandler)
- Creates an exception trap.
- Parameters:
anOut
- Output to be filtered..anHandler
- Exception handler to be notified if received Msgs are
not successfully pushed to anOut.
push
public void push(Msg aMsg)
- Description copied from interface:
MsgOutInterceptor
- Pushes a Msg.
- Specified by:
push
in interface MsgOutInterceptor
- Parameters:
aMsg
- Msg to be pushed.
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.