|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SerializationObjectReplacer
Allows replacing non-serializable objects prior to serialization. Typical scenarios are:
In either case, the bundle would provide a replacer to recognize the
object and return a serialized form, and would add a resolveObject method to
the class of the serialized form class to recreate the original object. Note
that the class of the serialized form will typically need to be made visible
via DeserializationClassProvider
.
Method Summary | |
---|---|
java.lang.Object |
replaceObject(java.lang.Object object)
Replaces non-serialization objects prior to serialization. |
Method Detail |
---|
java.lang.Object replaceObject(java.lang.Object object)
Implementations are strongly encouraged to annotate the parameter
with Sensitive
to avoid tracing user data.
object
- the object being serialized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |