public interface SelfManagedDataManager
MessageContext| Modifier and Type | Method and Description |
|---|---|
void |
deserializeSelfManagedData(java.io.ByteArrayInputStream data,
MessageContext mc)
This method is invoked when the MessageContext object is being restored.
|
void |
restoreTransientData(MessageContext mc)
This method is invoked when the MessageContext object is being restored and
after the deserializeSelfManagedData() method.
|
java.io.ByteArrayOutputStream |
serializeSelfManagedData(MessageContext mc)
This method is invoked when the MessageContext object is being saved.
|
java.io.ByteArrayOutputStream serializeSelfManagedData(MessageContext mc) throws java.io.IOException
mc - the MessageContext that is being savedjava.io.IOExceptionvoid deserializeSelfManagedData(java.io.ByteArrayInputStream data,
MessageContext mc)
throws java.io.IOException
data - ByteArrayInputStream consisting of the data that this handler had previously savedmc - the MessageContext object being restoredjava.io.IOExceptionvoid restoreTransientData(MessageContext mc)
mc - the MessageContext object being restoredCopyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.