Package | Description |
---|---|
org.infinispan.protostream |
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
|
org.infinispan.protostream.impl |
Protostream internals.
|
org.infinispan.protostream.sampledomain.marshallers |
Modifier and Type | Interface and Description |
---|---|
interface |
EnumMarshaller<E extends Enum<E>>
Translates a Java enum into an
int value that is suitable for serializing with protobuf. |
interface |
MessageMarshaller<T> |
interface |
RawProtobufMarshaller<T>
A marshaller for messages 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 |
Modifier and Type | Method and Description |
---|---|
<T> BaseMarshaller<T> |
SerializationContext.getMarshaller(Class<T> clazz) |
<T> BaseMarshaller<T> |
SerializationContext.getMarshaller(String descriptorFullName) |
Modifier and Type | Method and Description |
---|---|
<T> void |
SerializationContext.registerMarshaller(BaseMarshaller<T> marshaller)
Register a type marshaller.
|
Modifier and Type | Class and Description |
---|---|
class |
ProtocMessageMarshaller<T extends com.google.protobuf.MessageLite>
Marshaller for Google's Protobuf message classes generated by protoc tool.
|
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 descriptorFullName) |
Modifier and Type | Method and Description |
---|---|
<T> void |
SerializationContextImpl.registerMarshaller(BaseMarshaller<T> marshaller) |
Modifier and Type | Class and Description |
---|---|
class |
AccountMarshaller |
class |
AddressMarshaller |
class |
GenderMarshaller |
class |
LimitsMarshaller |
class |
TransactionMarshaller |
class |
UserMarshaller |
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.