Uses of Interface
org.infinispan.protostream.BaseMarshaller
Packages that use BaseMarshaller
Package
Description
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
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.
Protostream internals.
-
Uses of BaseMarshaller in org.infinispan.protostream
Subinterfaces of BaseMarshaller in org.infinispan.protostreamModifier and TypeInterfaceDescriptioninterfaceEnumMarshaller<E extends Enum<E>>Contract to be implemented by marshallers ofEnumtypes.interfaceContract to be implemented by manually written marshallers for Protobuf message (entity) types.interfaceA marshaller for message types that has direct access to the low level Protobuf streams (TagReader/TagWriter) to freely read and write tags.Fields in org.infinispan.protostream declared as BaseMarshallerModifier and TypeFieldDescription(package private) static final BaseMarshaller<WrappedMessage> WrappedMessage.MARSHALLERMarshaller for WrappedMessage.Methods in org.infinispan.protostream that return BaseMarshallerModifier and TypeMethodDescription<T> BaseMarshaller<T> ImmutableSerializationContext.getMarshaller(Class<T> clazz) Obtains the marshaller associated with a Java type.<T> BaseMarshaller<T> ImmutableSerializationContext.getMarshaller(String fullTypeName) Obtains the marshaller associated with a Protobuf type name.<T> BaseMarshaller<T> ImmutableSerializationContext.getMarshaller(T object) Obtains the marshaller associated with a given instance.SerializationContext.InstanceMarshallerProvider.getMarshaller(String typeName) Get a marshaller to unmarshall the supplied type name or @code null} if the type cannot be unmarshalled by this provider.SerializationContext.InstanceMarshallerProvider.getMarshaller(T instance) Get marshaller given a instance to be marshalled ornullif the instance cannot be marshalled by this provider.SerializationContext.MarshallerProvider.getMarshaller(Class<?> javaClass) Deprecated.Get a marshaller instance for the given Java class.SerializationContext.MarshallerProvider.getMarshaller(String typeName) Deprecated.Get a marshaller instance for the given type name.Methods in org.infinispan.protostream with parameters of type BaseMarshallerModifier and TypeMethodDescriptionprivate static voidWrappedMessage.readContainerWithoutWrappedElements(BaseMarshaller<?> containerMarshaller, int containerSize, Object container, ImmutableSerializationContext ctx, TagReader in) private static voidWrappedMessage.readContainerWithWrappedElements(BaseMarshaller<?> containerMarshaller, int containerSize, Object container, ImmutableSerializationContext ctx, TagReader in) voidSerializationContext.registerMarshaller(BaseMarshaller<?> marshaller) Register a type marshaller.voidSerializationContext.unregisterMarshaller(BaseMarshaller<?> marshaller) private static voidWrappedMessage.writeContainerWithoutWrappingElements(BaseMarshaller containerMarshaller, int containerSize, Object container, ImmutableSerializationContext ctx, TagWriter out) private static voidWrappedMessage.writeContainerWrappingElements(BaseMarshaller containerMarshaller, int containerSize, Object container, ImmutableSerializationContext ctx, TagWriter out, ByteArrayOutputStreamEx buffer) -
Uses of BaseMarshaller in org.infinispan.protostream.annotations.impl
Fields in org.infinispan.protostream.annotations.impl declared as BaseMarshallerModifier and TypeFieldDescriptionprivate final BaseMarshaller<?> ImportedProtoTypeMetadata.marshallerConstructors in org.infinispan.protostream.annotations.impl with parameters of type BaseMarshallerModifierConstructorDescriptionImportedProtoTypeMetadata(GenericDescriptor descriptor, BaseMarshaller<?> marshaller, XClass javaClass) -
Uses of BaseMarshaller in org.infinispan.protostream.impl
Methods in org.infinispan.protostream.impl that return BaseMarshallerModifier and TypeMethodDescriptionabstract BaseMarshaller<T> BaseMarshallerDelegate.getMarshaller()Gets the wrapped marshaller.<T> BaseMarshaller<T> SerializationContextImpl.getMarshaller(Class<T> clazz) <T> BaseMarshaller<T> SerializationContextImpl.getMarshaller(String fullTypeName) <T> BaseMarshaller<T> SerializationContextImpl.getMarshaller(T object) private <T> BaseMarshaller<T> SerializationContextImpl.getMarshallerFromLegacyProvider(Class<T> javaClass) private <T> BaseMarshaller<T> SerializationContextImpl.getMarshallerFromLegacyProvider(String fullTypeName) Methods in org.infinispan.protostream.impl with parameters of type BaseMarshallerModifier and TypeMethodDescriptionprivate <T> BaseMarshallerDelegate<T> SerializationContextImpl.makeMarshallerDelegate(BaseMarshaller<T> marshaller) voidSerializationContextImpl.registerMarshaller(BaseMarshaller<?> marshaller) voidSerializationContextImpl.unregisterMarshaller(BaseMarshaller<?> marshaller)