|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.base.WSIFDefaultMessage
org.apache.wsif.providers.jca.WSIFMessage_JCA
org.apache.wsif.providers.jca.WSIFMessage_JCAStreamable
The class WSIFMessage_JCAStreamable is a specialized version of the WSIFMessage_JCA to support Resource Adapters using javax.resource.cci.Streamable.
Field Summary |
Fields inherited from class org.apache.wsif.providers.jca.WSIFMessage_JCA |
FAULT_MESSAGE, INPUT_MESSAGE, OUTPUT_MESSAGE |
Constructor Summary | |
WSIFMessage_JCAStreamable(javax.wsdl.Definition aDefinition,
javax.wsdl.Binding aBinding,
java.lang.String aOperationName,
java.lang.String aInputName,
java.lang.String aOutputName,
int aMessageType)
|
Method Summary | |
java.lang.Object |
getObjectPart(java.lang.String partName)
Returns object part with the given name. |
java.lang.Object |
getObjectPart(java.lang.String partName,
java.lang.Class sourceClass)
Returns object part with the given name and requested representation. |
java.util.Iterator |
getPartNames()
Return list of part names. |
java.util.Iterator |
getParts()
Return an iterator of the parts in the message. |
void |
read(java.io.InputStream inputStream)
The method to read input stream and create message parts. |
void |
write(java.io.OutputStream outputStream)
Writes the contents of the message parts into the OutputStream. |
Methods inherited from class org.apache.wsif.providers.jca.WSIFMessage_JCA |
clone, getRecordName, getRecordShortDescription, setInteractionSpec, setRecordName, setRecordShortDescription |
Methods inherited from class org.apache.wsif.base.WSIFDefaultMessage |
deep, getBooleanPart, getBytePart, getCharPart, getDoublePart, getFloatPart, getIntPart, getLongPart, getMessageDefinition, getName, getRepresentationStyle, getShortPart, setBooleanPart, setBytePart, setCharPart, setDoublePart, setFloatPart, setIntPart, setLongPart, setMessageDefinition, setName, setObjectPart, setParts, setRepresentationStyle, setShortPart, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WSIFMessage_JCAStreamable(javax.wsdl.Definition aDefinition, javax.wsdl.Binding aBinding, java.lang.String aOperationName, java.lang.String aInputName, java.lang.String aOutputName, int aMessageType)
WSIFMessage_JCA.WSIFMessage_JCA(Definition, Binding, String, String, String, int)
Method Detail |
public void read(java.io.InputStream inputStream) throws java.io.IOException
getObjectPart
).
In this method only the part's format handler is created and stored.
java.io.IOException
javax.resource.cci.Streamable#read(InputStream)
public void write(java.io.OutputStream outputStream) throws java.io.IOException
write
method is invoked.
The format handlers are stored in the table.
java.io.IOException
javax.resource.cci.Streamable#write(OutputStream)
public java.lang.Object getObjectPart(java.lang.String partName)
getObjectPart
in interface WSIFMessage
getObjectPart
in class WSIFDefaultMessage
WSIFMessage.getObjectPart(String)
public java.lang.Object getObjectPart(java.lang.String partName, java.lang.Class sourceClass)
getObjectPart
in interface WSIFMessage
getObjectPart
in class WSIFDefaultMessage
WSIFMessage.getObjectPart(String)
public java.util.Iterator getPartNames()
WSIFMessage
NOTE: part names are unordered.
getPartNames
in interface WSIFMessage
getPartNames
in class WSIFDefaultMessage
WSIFMessage.getPartNames()
public java.util.Iterator getParts()
WSIFDefaultMessage
getParts
in interface WSIFMessage
getParts
in class WSIFDefaultMessage
WSIFMessage.getParts()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |