Package 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 theof 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
-
-
Constructor Summary
Constructors Constructor Description DispatchMDBMessageListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidejbCreate()voidejbRemove()ObjectlookupTargetObject(String targetJndiName)Looks up the target object by EJB local reference.voidsetMessageDrivenContext(javax.ejb.MessageDrivenContext mdc)
-
-
-
Method Detail
-
lookupTargetObject
public Object lookupTargetObject(String targetJndiName) throws Exception
Looks up the target object by EJB local reference.- Specified by:
lookupTargetObjectin interfaceDispatchMDBMessageListener- Returns:
- Throws:
Exception
-
ejbCreate
public void ejbCreate()
-
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemovein interfacejavax.ejb.MessageDrivenBean
-
setMessageDrivenContext
public void setMessageDrivenContext(javax.ejb.MessageDrivenContext mdc)
- Specified by:
setMessageDrivenContextin interfacejavax.ejb.MessageDrivenBean
-
-