public static interface JavaBinCodec.ObjectResolver
JavaBinCodecto support serialization of arbitrary data types.
Implementors of this interface write a method to serialize a given object using an existing
|Modifier and Type||Method and Description|
Examine and attempt to serialize the given object, using a
Object resolve(Object o, JavaBinCodec codec) throws IOException
JavaBinCodecto write it to a stream.
o- the object that the caller wants serialized.
codec- used to actually serialize
oitself if it could not be serialized, or
nullif the whole object was successfully serialized.
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.