Package 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
DispatchMDBInvoker is executed in the context of a Message Driven Bean
that dispatches calls to the target Session Bean where the service logic is
implemented. The target must be a Stateless Session Bean. Since
DispatchMDBInvoker makes EJB local invocation to the target bean, the
Message Driven Bean must be configured to include a local reference to
the target bean in the deployment descriptor. The advantage of using
DispatchMDBInvoker is that no modification to the resource adapter's
deployment descriptor (ra.xml) is required to add or remove inbound endpoints.
-
Constructor Summary
ConstructorsConstructorDescriptionDispatchMDBInvoker(jakarta.resource.spi.endpoint.MessageEndpointFactory factory, String targetJndiName) -
Method Summary
Modifier and TypeMethodDescriptiongetServiceObject(org.apache.cxf.message.Exchange context) voidreleaseServiceObject(org.apache.cxf.message.Exchange context, Object obj) Methods inherited from class org.apache.cxf.jca.inbound.MDBInvoker
getMessageEndpoint, releaseEndpointMethods inherited from class org.apache.cxf.service.invoker.AbstractInvoker
adjustMethodAndParams, checkSuspendedInvocation, createFault, getMostSpecificMethod, insertExchange, invoke, invoke, isJdkDynamicProxy, performInvocation
-
Constructor Details
-
DispatchMDBInvoker
public DispatchMDBInvoker(jakarta.resource.spi.endpoint.MessageEndpointFactory factory, String targetJndiName)
-
-
Method Details
-
getServiceObject
- Overrides:
getServiceObjectin classMDBInvoker
-
releaseServiceObject
- Overrides:
releaseServiceObjectin classMDBInvoker
-