org.apache.wsif.providers.jca
Interface WSIFFormatHandler_JCA
- All Superinterfaces:
- java.io.Serializable, WSIFFormatHandler
- public interface WSIFFormatHandler_JCA
- extends WSIFFormatHandler
An interface extending WSIF Format Handler with the Connector Architecture's specific
methods from the Streamable interface and a setter for the InteractionSpec field which
can be used by a resource adapter, when it is required, to support unmarshalling.
- Author:
- John Green, Michael Beisiegel, Piotr Przybylski
Method Summary |
void |
read(java.io.InputStream inputStream)
Read data contents from the input stream. |
void |
setInteractionSpec(javax.resource.cci.InteractionSpec interactionSpec)
Sets the interactionSpec on the format handler. |
void |
write(java.io.OutputStream outputStream)
Writes the contents of the data to the output stream. |
read
public void read(java.io.InputStream inputStream)
throws java.io.IOException
- Read data contents from the input stream.
write
public void write(java.io.OutputStream outputStream)
throws java.io.IOException
- Writes the contents of the data to the output stream.
- Parameters:
outputStream
- - Throws:
IOException
-
setInteractionSpec
public void setInteractionSpec(javax.resource.cci.InteractionSpec interactionSpec)
- Sets the interactionSpec on the format handler. This should be set by the
resource adapter when the interactionSpec contains information
that is required to unmarshall returned data.
- Parameters:
interactionSpec
-
Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.