Class InfinispanSerializationContextInitializer
java.lang.Object
org.eclipse.jetty.session.infinispan.InfinispanSerializationContextInitializer
- All Implemented Interfaces:
org.infinispan.protostream.SerializationContextInitializer
public class InfinispanSerializationContextInitializer
extends Object
implements org.infinispan.protostream.SerializationContextInitializer
Set up the marshaller for InfinispanSessionData serialization
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerMarshallers
(org.infinispan.protostream.SerializationContext serCtx) void
registerSchema
(org.infinispan.protostream.SerializationContext serCtx)
-
Constructor Details
-
InfinispanSerializationContextInitializer
public InfinispanSerializationContextInitializer()
-
-
Method Details
-
getProtoFileName
- Specified by:
getProtoFileName
in interfaceorg.infinispan.protostream.SerializationContextInitializer
-
getProtoFile
- Specified by:
getProtoFile
in interfaceorg.infinispan.protostream.SerializationContextInitializer
- Throws:
UncheckedIOException
-
registerSchema
public void registerSchema(org.infinispan.protostream.SerializationContext serCtx) - Specified by:
registerSchema
in interfaceorg.infinispan.protostream.SerializationContextInitializer
-
registerMarshallers
public void registerMarshallers(org.infinispan.protostream.SerializationContext serCtx) - Specified by:
registerMarshallers
in interfaceorg.infinispan.protostream.SerializationContextInitializer
-