public interface ClassResolver extends Predictable<Class<?>>
| Modifier and Type | Method and Description |
|---|---|
void |
annotate(org.infinispan.protostream.ImmutableSerializationContext context,
org.infinispan.protostream.RawProtoStreamWriter writer,
Class<?> targetClass)
Writes any additional context necessary to resolve the specified class.
|
Class<?> |
resolve(org.infinispan.protostream.ImmutableSerializationContext context,
org.infinispan.protostream.RawProtoStreamReader reader,
String className)
Resolves a class with the specified name from the specified reader.
|
byteArraySize, signedIntSize, signedLongSize, size, stringSize, unsignedIntSize, unsignedLongSizevoid annotate(org.infinispan.protostream.ImmutableSerializationContext context,
org.infinispan.protostream.RawProtoStreamWriter writer,
Class<?> targetClass)
throws IOException
context - a serialization contextwriter - a ProtoStream writertargetClass - the class to be annotatedIOExceptionClass<?> resolve(org.infinispan.protostream.ImmutableSerializationContext context, org.infinispan.protostream.RawProtoStreamReader reader, String className) throws IOException
context - a serialization contextreader - a ProtoStream readerclassName - a class nameIOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.