org.apache.cxf.jca.inbound
Class DispatchMDBInvoker
java.lang.Object
org.apache.cxf.service.invoker.AbstractInvoker
org.apache.cxf.jca.inbound.MDBInvoker
org.apache.cxf.jca.inbound.DispatchMDBInvoker
- All Implemented Interfaces:
- org.apache.cxf.service.invoker.Invoker
public class DispatchMDBInvoker
- extends MDBInvoker
DispatchMDBInvoker is executed in the context of a Message Driven Bean
that dispatches invocation to a Session Bean where the service logic is
implemented. The target must be a Stateless Session Bean. Since
DispatchMDBInvoker makes EJB local reference to the target bean, the
Message Driven Bean must be configured to have a local reference to
the target bean in the deployment descriptor. The advantage of using
DispatchMDBInvoker is no modification is required when adding or removing
inbound endpoints.
|
Constructor Summary |
DispatchMDBInvoker(javax.resource.spi.endpoint.MessageEndpoint messageEndpoint,
java.lang.String targetJndiName)
|
|
Method Summary |
java.lang.Object |
getServiceObject(org.apache.cxf.message.Exchange context)
|
| Methods inherited from class org.apache.cxf.service.invoker.AbstractInvoker |
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 |
DispatchMDBInvoker
public DispatchMDBInvoker(javax.resource.spi.endpoint.MessageEndpoint messageEndpoint,
java.lang.String targetJndiName)
- Parameters:
messageEndpoint -
getServiceObject
public java.lang.Object getServiceObject(org.apache.cxf.message.Exchange context)
- Overrides:
getServiceObject in class MDBInvoker
Apache CXF