|
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.ReplyContextWrapper
public final class ReplyContextWrapper
Wraps the reply context passed to the process engine.
When the process engine is accessed through its EJB interface:
ReplyContextWrapper
class
defers deserialization until the wrapped ReplyContext is accessed.
This allows the process engine to set the appropriate class loader.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Constructor Summary | |
---|---|
ReplyContextWrapper()
Default constructor needed by deserialization. |
|
ReplyContextWrapper(byte[] buffer)
Constructor that stores the passed serialized object. |
|
ReplyContextWrapper(ReplyContext object)
Constructor that stores the passed object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates and returns a copy of this object. |
static ReplyContextWrapper |
fromByteArray(byte[] buffer)
Factory method that creates a ReplyContextWrapper from a byte array. |
ReplyContext |
getObject()
Returns the wrapped object. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public ReplyContextWrapper()
null
.
public ReplyContextWrapper(ReplyContext object)
object
- The object to wrap. When the ReplyContextWrapper
object is used as
an EJB parameter or as an EJB return value,
then object
must implement java.io.Serializable
.public ReplyContextWrapper(byte[] buffer)
buffer
- The object to wrap. When the ReplyContextWrapper
object is used as
an EJB parameter or as an EJB return value,
then object
must implement java.io.Serializable
.Method Detail |
---|
public static ReplyContextWrapper fromByteArray(byte[] buffer)
buffer
- The serialized object to wrap.
public ReplyContext getObject() throws ProcessException
If the ReplyContextWrapper
object has been serialized,
then deserialized and this is the first time the wrapped object is accessed,
the wrapped object is deserialized before it is returned.
If the ReplyContextWrapper
has never been serialized,
or the wrapped object has been accessed before,
the wrapped object is returned without deserialization.
ProcessException
- if an error occurrs during deserialization of the object.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
The meaning of "copy" depends on the class of the object. Generally, for any object x, the expression:
is true, and the expression:x.clone() != x
is true.x.clone().getClass() == x.getClass()
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the object's class does not support the Cloneable
interface.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |