public class EndpointHandler extends Object implements InvocationHandler, javax.resource.spi.endpoint.MessageEndpoint
| Constructor and Description |
|---|
EndpointHandler(MdbContainer container,
BeanContext deployment,
MdbInstanceFactory instanceFactory,
XAResource xaResource) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDelivery() |
void |
beforeDelivery(Method method) |
Object |
deliverMessage(Method method,
Object[] args) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
release() |
public EndpointHandler(MdbContainer container, BeanContext deployment, MdbInstanceFactory instanceFactory, XAResource xaResource) throws javax.resource.spi.UnavailableException
javax.resource.spi.UnavailableExceptionpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic void beforeDelivery(Method method) throws javax.resource.spi.ApplicationServerInternalException
beforeDelivery in interface javax.resource.spi.endpoint.MessageEndpointjavax.resource.spi.ApplicationServerInternalExceptionpublic Object deliverMessage(Method method, Object[] args) throws Throwable
Throwablepublic void afterDelivery()
throws javax.resource.spi.ApplicationServerInternalException,
javax.resource.spi.UnavailableException
afterDelivery in interface javax.resource.spi.endpoint.MessageEndpointjavax.resource.spi.ApplicationServerInternalExceptionjavax.resource.spi.UnavailableExceptionpublic void release()
release in interface javax.resource.spi.endpoint.MessageEndpointCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.