Uses of Interface
org.infinispan.protostream.SerializationContext
-
Packages that use SerializationContext Package Description org.infinispan.protostream Library for easy and efficient marshalling of Java objects in Protocol Buffers format.org.infinispan.protostream.annotations Annotations for defining Protocol Buffers schemas in Java code.org.infinispan.protostream.annotations.impl Holds the internal representation of Protobuf type metadata defined via annotations and the processors that handle this metadata in order to generate Protobuf schemas and marshallers.org.infinispan.protostream.impl Protostream internals. -
-
Uses of SerializationContext in org.infinispan.protostream
Methods in org.infinispan.protostream that return SerializationContext Modifier and Type Method Description static SerializationContext
ProtobufUtil. newSerializationContext()
static SerializationContext
ProtobufUtil. newSerializationContext(Configuration configuration)
Methods in org.infinispan.protostream with parameters of type SerializationContext Modifier and Type Method Description void
SerializationContextInitializer. registerMarshallers(SerializationContext serCtx)
Registers marshallers to the givenSerializationContext
.This is always invoked afterSerializationContextInitializer.registerSchema(org.infinispan.protostream.SerializationContext)
.void
SerializationContextInitializer. registerSchema(SerializationContext serCtx)
Registers schema files to the givenSerializationContext
. -
Uses of SerializationContext in org.infinispan.protostream.annotations
Methods in org.infinispan.protostream.annotations with parameters of type SerializationContext Modifier and Type Method Description String
ProtoSchemaBuilder. build(SerializationContext serializationContext)
Deprecated.Builds the Protocol Buffers schema file defining the types and generates marshaller implementations for these types and registers everything with the givenSerializationContext
.String
ProtoSchemaBuilder. build(SerializationContext serializationContext, ClassLoader classLoader)
Deprecated.Builds the Protocol Buffers schema file defining the types and generates marshaller implementations for these types and registers everything with the givenSerializationContext
.The generated classes are defined in the given ClassLoader. -
Uses of SerializationContext in org.infinispan.protostream.annotations.impl
Fields in org.infinispan.protostream.annotations.impl declared as SerializationContext Modifier and Type Field Description protected SerializationContext
BaseProtoSchemaGenerator. serializationContext
Methods in org.infinispan.protostream.annotations.impl with parameters of type SerializationContext Modifier and Type Method Description abstract void
AbstractMarshallerCodeGenerator. generateMarshaller(SerializationContext serCtx, ProtoTypeMetadata ptm)
Constructors in org.infinispan.protostream.annotations.impl with parameters of type SerializationContext Constructor Description BaseProtoSchemaGenerator(XTypeFactory typeFactory, SerializationContext serializationContext, String generator, String fileName, String packageName, Set<XClass> classes, boolean autoImportClasses)
RuntimeProtoSchemaGenerator(XTypeFactory typeFactory, SerializationContext serializationContext, String generator, String fileName, String packageName, Set<XClass> classes, boolean autoImportClasses, ClassLoader classLoader)
-
Uses of SerializationContext in org.infinispan.protostream.impl
Classes in org.infinispan.protostream.impl that implement SerializationContext Modifier and Type Class Description class
SerializationContextImpl
-