|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webservice.transport.jms.JMSTransportSupport
The abstract base class for MDBs that want to act as web service endpoints. A subclass should only need to implement the service endpoint interface.
Field Summary | |
protected Logger (src) |
log
|
Constructor Summary | |
JMSTransportSupport()
|
Method Summary | |
void |
ejbCreate()
|
void |
ejbRemove()
A container invokes this method before it ends the life of the message-driven object. |
protected AxisServer (src) |
getAxisServer()
Get the JBossWS installed Axis sever. |
protected Queue (src) |
getReplyQueue(BytesMessage (src) message)
Get the reply queue. |
protected java.lang.String |
getServiceName()
Return the service name for this MDB |
void |
onMessage(Message (src) message)
All messages come in here, if it is a BytesMessage we pass it on for further processing. |
protected void |
processSOAPMessage(BytesMessage (src) message)
Read the SOAP message and pass it on to Axis. |
protected void |
sendResponse(Queue (src) replyQueue,
Message (src) axisResponse)
Respond to the call by sending a message to the reply queue |
void |
setMessageDrivenContext(MessageDrivenContext (src) ctx)
Set the associated message-driven context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Logger (src) log
Constructor Detail |
public JMSTransportSupport()
Method Detail |
protected AxisServer (src) getAxisServer()
protected java.lang.String getServiceName()
public void onMessage(Message (src) message)
onMessage
in interface MessageListener (src)
message
- the message passed to the listenerprotected void processSOAPMessage(BytesMessage (src) message) throws java.lang.Exception
java.lang.Exception
protected Queue (src) getReplyQueue(BytesMessage (src) message) throws JMSException (src)
JMSException (src)
protected void sendResponse(Queue (src) replyQueue, Message (src) axisResponse) throws SOAPException (src) , java.io.IOException, JMSException (src)
SOAPException (src)
java.io.IOException
JMSException (src)
public void ejbCreate()
public void ejbRemove() throws EJBException (src)
ejbRemove
in interface MessageDrivenBean (src)
EJBException (src)
- - Thrown by the method to indicate a failure caused by a system-level error.public void setMessageDrivenContext(MessageDrivenContext (src) ctx) throws EJBException (src)
setMessageDrivenContext
in interface MessageDrivenBean (src)
ctx
- - A MessageDrivenContext interface for the instance.
EJBException (src)
- - Thrown by the method to indicate a failure caused by a system-level error.
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |