org.apache.cxf.jca.inbound
Class MDBInvoker
java.lang.Object
org.apache.cxf.service.invoker.AbstractInvoker
org.apache.cxf.jca.inbound.MDBInvoker
- All Implemented Interfaces:
- org.apache.cxf.service.invoker.Invoker
- Direct Known Subclasses:
- DispatchMDBInvoker
public class MDBInvoker
- extends org.apache.cxf.service.invoker.AbstractInvoker
An invoker that supports direct Message Driven Bean invocation.
It get invoked in the context of the Message Driven Bean that
activates the CXF service endpoint facade. Applications that put
service implementation inside the Message Driven Bean that activates
the inbound endpoint facade should choose this invoker. It is
more straightforward and faster than DispatchMBDInvoker but
it requires to modify resource adapter's deployment descriptor (ra.xml)
as the needs to be set to the Service Endpoint Interface
(SEI) class.
|
Constructor Summary |
MDBInvoker(javax.resource.spi.endpoint.MessageEndpoint messageEndpoint)
|
| Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker |
checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation, releaseServiceObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDBInvoker
public MDBInvoker(javax.resource.spi.endpoint.MessageEndpoint messageEndpoint)
- Parameters:
messageEndpoint -
getMessageEndpoint
public javax.resource.spi.endpoint.MessageEndpoint getMessageEndpoint()
- Returns:
- the messageEndpoint
getServiceObject
public java.lang.Object getServiceObject(org.apache.cxf.message.Exchange context)
- Specified by:
getServiceObject in class org.apache.cxf.service.invoker.AbstractInvoker
Apache CXF