|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.bpe.api.ProcessResponseWrapper
public final class ProcessResponseWrapper
Wraps the output message returned by a microflow and its associated custom client settings.
The ProcessResponseWrapper
class servers two major purposes:
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
ProcessResponseWrapper()
Default constructor needed by deserialization. |
|
ProcessResponseWrapper(java.lang.Object message,
CustomClientSettings setting)
Constructor that stores the passed objects. |
Method Summary | |
---|---|
static ProcessResponseWrapper |
fromByteArray(byte[] buffer,
CustomClientSettings setting)
Factory method that creates a ProcessResponseWrapper from a byte array and custom client setting. |
CustomClientSettings |
getClientUISettings()
Returns the custom client settings associated to the message. |
java.lang.Object |
getMessage()
Returns the wrapped object, the message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public ProcessResponseWrapper()
null
.
public ProcessResponseWrapper(java.lang.Object message, CustomClientSettings setting)
message
- The message to be returned.
The message
must implement java.io.Serializable
.setting
- The custom client settings associated with the message.Method Detail |
---|
public static ProcessResponseWrapper fromByteArray(byte[] buffer, CustomClientSettings setting)
buffer
- The serialized message to wrap.setting
- The custom client settings associated with the message.
public java.lang.Object getMessage() throws ProcessException
If the ProcessResponseWrapper
has been serialized,
then deserialized and this is the first time the message is accessed,
the message is deserialized before it is returned.
If the ProcessResponseWrapper
has never been serialized,
or the message has been accessed before,
the message is returned without deserialization.
ProcessException
- if an error occurrs during deserialization of the message.public CustomClientSettings getClientUISettings()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |