org.apache.cxf.jca.inbound
Class DispatchMDBMessageListenerImpl
java.lang.Object
org.apache.cxf.jca.inbound.DispatchMDBMessageListenerImpl
- All Implemented Interfaces:
- Serializable, javax.ejb.EnterpriseBean, javax.ejb.MessageDrivenBean, DispatchMDBMessageListener
public class DispatchMDBMessageListenerImpl
- extends Object
- implements javax.ejb.MessageDrivenBean, DispatchMDBMessageListener
DispatchMDBMessageListenerImpl supports dispatching of calls to a
Stateless Session Bean.
DispatchMDBMessageListenerImpl is intended to be used as the of
the bean in the resource adaptor's deployment descriptor
(ra.xml). When it is used, the should be set to
org.apache.cxf.jca.inbound.DispatchMDBMessageListener. Also, the resource
adaptor's deployment descriptor should specify the same interface
(org.apache.cxf.jca.inbound.DispatchMDBMessageListener) in the
in order to activate the inbound facade endpoint.
Since the Message Driven Bean is used to activate the inbound
endpoint facade by CXF JCA connector, all the required resources (such as,
service endpoint interface class, WSDL, or bus configuration) should be put
in the same jar with the Message Driven Bean.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DispatchMDBMessageListenerImpl
public DispatchMDBMessageListenerImpl()
lookupTargetObject
public Object lookupTargetObject(String targetJndiName)
throws Exception
- Looks up the target object by EJB local reference.
- Specified by:
lookupTargetObject
in interface DispatchMDBMessageListener
- Returns:
-
- Throws:
Exception
ejbCreate
public void ejbCreate()
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.MessageDrivenBean
setMessageDrivenContext
public void setMessageDrivenContext(javax.ejb.MessageDrivenContext mdc)
- Specified by:
setMessageDrivenContext
in interface javax.ejb.MessageDrivenBean
Apache CXF