Package | Description |
---|---|
org.infinispan.protostream |
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
|
org.infinispan.protostream.impl |
Protostream internals.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EnumMarshaller<E extends Enum<E>>
Contract to be implemented by marshallers of
Enum types. |
interface |
MessageMarshaller<T>
Contract to be implemented by marshallers for Protobuf message (entity) types.
|
interface |
RawProtobufMarshaller<T>
A marshaller for message types that has direct access to the low level Protobuf streams to read and write tags in an
unchecked manner.
|
Modifier and Type | Class and Description |
---|---|
static class |
WrappedMessage.Marshaller
Marshaller for WrappedMessage.
|
Modifier and Type | Method and Description |
---|---|
BaseMarshaller<?> |
SerializationContext.MarshallerProvider.getMarshaller(Class<?> javaClass)
Get a marshaller instance for the given Java class.
|
<T> BaseMarshaller<T> |
ImmutableSerializationContext.getMarshaller(Class<T> clazz)
Obtains the marshaller associated with a Java type.
|
BaseMarshaller<?> |
SerializationContext.MarshallerProvider.getMarshaller(String typeName)
Get a marshaller instance for the given type name.
|
<T> BaseMarshaller<T> |
ImmutableSerializationContext.getMarshaller(String fullTypeName)
Obtains the marshaller associated with a Protobuf type name.
|
Modifier and Type | Method and Description |
---|---|
void |
SerializationContext.registerMarshaller(BaseMarshaller<?> marshaller)
Register a type marshaller.
|
void |
SerializationContext.unregisterMarshaller(BaseMarshaller<?> marshaller) |
Modifier and Type | Method and Description |
---|---|
BaseMarshaller<T> |
BaseMarshallerDelegate.getMarshaller()
Gets the wrapped marshaller.
|
<T> BaseMarshaller<T> |
SerializationContextImpl.getMarshaller(Class<T> clazz) |
<T> BaseMarshaller<T> |
SerializationContextImpl.getMarshaller(String fullTypeName) |
Modifier and Type | Method and Description |
---|---|
void |
SerializationContextImpl.registerMarshaller(BaseMarshaller<?> marshaller) |
void |
SerializationContextImpl.unregisterMarshaller(BaseMarshaller<?> marshaller) |
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.