Package org.apache.solr.common.util
Interface JavaBinCodec.ObjectResolver
- 
- Enclosing class:
- JavaBinCodec
 
 public static interface JavaBinCodec.ObjectResolverAllows extension ofJavaBinCodecto support serialization of arbitrary data types.Implementors of this interface write a method to serialize a given object using an existing JavaBinCodec
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectresolve(Object o, JavaBinCodec codec)Examine and attempt to serialize the given object, using aJavaBinCodecto write it to a stream.
 
- 
- 
- 
Method Detail- 
resolveObject resolve(Object o, JavaBinCodec codec) throws IOException Examine and attempt to serialize the given object, using aJavaBinCodecto write it to a stream.- Parameters:
- o- the object that the caller wants serialized.
- codec- used to actually serialize- o.
- Returns:
- the object oitself if it could not be serialized, ornullif the whole object was successfully serialized.
- Throws:
- IOException
- See Also:
- JavaBinCodec
 
 
- 
 
-