public class EndpointHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BaseMdbContainer |
container |
protected java.lang.Object |
instance |
protected java.lang.Boolean |
isAmq |
protected org.apache.openejb.core.mdb.State |
state |
Constructor and Description |
---|
EndpointHandler(BaseMdbContainer container,
BeanContext deployment,
MdbInstanceFactory instanceFactory,
javax.transaction.xa.XAResource xaResource) |
Modifier and Type | Method and Description |
---|---|
void |
afterDelivery() |
void |
beforeDelivery(java.lang.reflect.Method method) |
java.lang.Object |
deliverMessage(java.lang.reflect.Method method,
java.lang.Object[] args) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
protected void |
recreateInstance(boolean exceptionAlreadyThrown) |
void |
release() |
protected org.apache.openejb.core.mdb.State state
protected volatile java.lang.Boolean isAmq
protected java.lang.Object instance
protected final BaseMdbContainer container
public EndpointHandler(BaseMdbContainer container, BeanContext deployment, MdbInstanceFactory instanceFactory, javax.transaction.xa.XAResource xaResource) throws UnavailableException
UnavailableException
public void beforeDelivery(java.lang.reflect.Method method) throws ApplicationServerInternalException
ApplicationServerInternalException
protected void recreateInstance(boolean exceptionAlreadyThrown) throws UnavailableException
UnavailableException
public void release()
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public java.lang.Object deliverMessage(java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
java.lang.Throwable
public void afterDelivery() throws ApplicationServerInternalException, UnavailableException
ApplicationServerInternalException
UnavailableException