Package com.ibm.ws.serialization
Interface SerializationContext
public interface SerializationContext
A context for serializing objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObjectReplacer
(SerializationObjectReplacer replacer) Add an object replacer local to this context only.createObjectOutputStream
(OutputStream output) Create a stream for serializing objects using this context.
-
Method Details
-
addObjectReplacer
Add an object replacer local to this context only.- Parameters:
resolver
- the resolver to add
-
createObjectOutputStream
Create a stream for serializing objects using this context.- Parameters:
output
- the output stream to write serialized object data- Returns:
- a stream for serialization
- Throws:
IOException
- if theObjectOutputStream
constructor throws an exception
-