org.ow2.jonas.lib.ejb21
Class JMessageEndpointProxy
java.lang.Object
org.ow2.jonas.lib.ejb21.JMessageEndpointProxy
- All Implemented Interfaces:
- InvocationHandler
public class JMessageEndpointProxy
- extends Object
- implements InvocationHandler
Generic interposed class for Message Endpoints This class presents these
interfaces, depending on object reached: MessageDrivenContext interface to
the bean instance
- Author:
- Philippe Coq, Philippe Durieux, Christophe Ney (Easier Enhydra integration)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bf
protected JMdbEndpointFactory bf
ep
protected JMessageEndpoint ep
mdb
protected MessageDrivenBean mdb
tm
protected TransactionManager tm
JMessageEndpointProxy
public JMessageEndpointProxy(JMdbEndpointFactory bf,
MessageDrivenBean mdb,
JMessageEndpoint ep)
- constructor
- Parameters:
bf
- The MDB Endpoint Factorysess
- The JMS Sessionmdb
- The Message Driven Beanthpool
- The Thread Pool
invoke
public Object invoke(Object obj,
Method method,
Object[] aobj)
throws Throwable,
NoSuchMethodException,
ResourceException,
Exception
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
NoSuchMethodException
ResourceException
Exception
Copyright © 2010 OW2 Consortium. All Rights Reserved.