|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.jca.PMQMessage
com.softwareag.jca.RPCMessage
public class RPCMessage
An instance of this class is a synchronous message
object for send and receive. The message is
dispatched from RPCMessageDispatcher
.
Constructor Summary | |
---|---|
protected |
RPCMessage(byte[] input)
Creates message object. |
Method Summary | |
---|---|
void |
ejbInvoke(java.lang.Object ejb)
Dispatches the incoming document to EJBInvoker . |
java.util.Properties |
getProperties()
|
org.w3c.dom.Document |
getRequestDocument()
|
protected byte[] |
getResponseBytes()
|
protected void |
setProperties(java.util.Properties properties)
Set RPC message properties. |
void |
setResponse(org.w3c.dom.Document output,
java.lang.String encoding)
Set and reply the response XML document. |
Methods inherited from class com.softwareag.jca.PMQMessage |
---|
getRequestStream, getRequestString, getResponseStream, setResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RPCMessage(byte[] input)
input
- message streamMethod Detail |
---|
protected byte[] getResponseBytes()
protected void setProperties(java.util.Properties properties)
properties
- public org.w3c.dom.Document getRequestDocument() throws java.io.IOException, javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
getRequestDocument
in class PMQMessage
java.io.IOException
- on delivery problems
javax.xml.parsers.ParserConfigurationException
- no DOM implementation is available
org.xml.sax.SAXException
- message doesn't contain XMLpublic void setResponse(org.w3c.dom.Document output, java.lang.String encoding) throws java.io.IOException
setResponse
in class PMQMessage
output
- document
java.io.IOException
public java.util.Properties getProperties()
public void ejbInvoke(java.lang.Object ejb) throws java.lang.Throwable
EJBInvoker
. This invoker calls the EJB method
discribed by XML mapping document. The response of invoker are set as RPC response.
ejb
-
java.lang.Throwable
- any problem exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |