public interface DeserializationObjectResolver
SerializationContext.addObjectReplacer(com.ibm.ws.serialization.SerializationObjectReplacer)
to
add a custom serialized form, and DeserializationContext.addObjectResolver(com.ibm.ws.serialization.DeserializationObjectResolver)
to
recognize the object and return a context-specific object. Note that the
class of the serialized form will typically need to be made visible via DeserializationClassProvider
.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
resolveObject(java.lang.Object object)
Resolves an object after deserialization.
|
java.lang.Object resolveObject(java.lang.Object object) throws java.io.IOException
Implementations are strongly encouraged to annotate the parameter
with Sensitive
to avoid tracing user data.
object
- the object being resolvedjava.io.IOException
- if an error occurs resolving the object