public class MDBInvoker extends AbstractInvoker
DispatchMBDInvoker
but
it requires to modify resource adapter's deployment descriptor (ra.xml)
as the Constructor and Description |
---|
MDBInvoker(javax.resource.spi.endpoint.MessageEndpointFactory factory) |
Modifier and Type | Method and Description |
---|---|
javax.resource.spi.endpoint.MessageEndpoint |
getMessageEndpoint() |
Object |
getServiceObject(Exchange context)
Creates and returns a service object depending on the scope.
|
protected void |
releaseEndpoint(javax.resource.spi.endpoint.MessageEndpoint mep) |
void |
releaseServiceObject(Exchange context,
Object obj)
Called when the invoker is done with the object.
|
adjustMethodAndParams, checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation
public MDBInvoker(javax.resource.spi.endpoint.MessageEndpointFactory factory)
messageEndpoint
- public javax.resource.spi.endpoint.MessageEndpoint getMessageEndpoint()
protected void releaseEndpoint(javax.resource.spi.endpoint.MessageEndpoint mep)
public Object getServiceObject(Exchange context)
AbstractInvoker
getServiceObject
in class AbstractInvoker
public void releaseServiceObject(Exchange context, Object obj)
AbstractInvoker
releaseServiceObject
in class AbstractInvoker
Apache CXF