public interface SelfManagedDataManager
MessageContext| Modifier and Type | Method and Description |
|---|---|
void |
deserializeSelfManagedData(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.
|
ByteArrayOutputStream |
serializeSelfManagedData(MessageContext mc)
This method is invoked when the MessageContext object is being saved.
|
ByteArrayOutputStream serializeSelfManagedData(MessageContext mc) throws IOException
mc - the MessageContext that is being savedIOExceptionvoid deserializeSelfManagedData(ByteArrayInputStream data, MessageContext mc) throws IOException
data - ByteArrayInputStream consisting of the data that this handler had previously savedmc - the MessageContext object being restoredIOExceptionvoid restoreTransientData(MessageContext mc)
mc - the MessageContext object being restoredCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.