Class MapSessionProtoAdapter.SessionAttributeRawMarshaller
java.lang.Object
org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase
org.infinispan.spring.common.session.MapSessionProtoAdapter.SessionAttributeRawMarshaller
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<MapSessionProtoAdapter.SessionAttribute>
,org.infinispan.protostream.ProtobufTagMarshaller<MapSessionProtoAdapter.SessionAttribute>
- Enclosing class:
MapSessionProtoAdapter
public static final class MapSessionProtoAdapter.SessionAttributeRawMarshaller
extends org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase
implements org.infinispan.protostream.ProtobufTagMarshaller<MapSessionProtoAdapter.SessionAttribute>
Generated with protostream-processor and then adapted to use
JavaSerializationMarshaller
.
A raw marshaller is necessary because we need a JavaSerializationMarshaller
instance,
and MapSessionProtoAdapter
must be stateless.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller
org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.ReadContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext
-
Constructor Summary
ConstructorDescriptionSessionAttributeRawMarshaller
(JavaSerializationMarshaller javaSerializationMarshaller) -
Method Summary
Modifier and TypeMethodDescriptionread
(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext ctx) void
write
(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext ctx, MapSessionProtoAdapter.SessionAttribute attribute) Methods inherited from class org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase
readMessage, writeMessage, writeNestedMessage
-
Constructor Details
-
SessionAttributeRawMarshaller
-
-
Method Details
-
getJavaClass
- Specified by:
getJavaClass
in interfaceorg.infinispan.protostream.BaseMarshaller<MapSessionProtoAdapter.SessionAttribute>
-
getTypeName
- Specified by:
getTypeName
in interfaceorg.infinispan.protostream.BaseMarshaller<MapSessionProtoAdapter.SessionAttribute>
-
read
public MapSessionProtoAdapter.SessionAttribute read(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext ctx) throws IOException - Specified by:
read
in interfaceorg.infinispan.protostream.ProtobufTagMarshaller<MapSessionProtoAdapter.SessionAttribute>
- Throws:
IOException
-
write
public void write(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext ctx, MapSessionProtoAdapter.SessionAttribute attribute) throws IOException - Specified by:
write
in interfaceorg.infinispan.protostream.ProtobufTagMarshaller<MapSessionProtoAdapter.SessionAttribute>
- Throws:
IOException
-