Interface SerializationContext.InstanceMarshallerProvider<T>

Type Parameters:
T - the marshalled type
All Superinterfaces:
org.infinispan.protostream.SerializationContext.InstanceMarshallerProvider<T>
Enclosing interface:
SerializationContext

public static interface SerializationContext.InstanceMarshallerProvider<T> extends org.infinispan.protostream.SerializationContext.InstanceMarshallerProvider<T>
An instance marshaller provider that ensures all registered marshallers implement ProtoStreamMarshaller.
Author:
Paul Ferraro
  • Method Details

    • getMarshaller

      ProtoStreamMarshaller<T> getMarshaller(T instance)
      Specified by:
      getMarshaller in interface org.infinispan.protostream.SerializationContext.InstanceMarshallerProvider<T>
    • getMarshaller

      ProtoStreamMarshaller<T> getMarshaller(String typeName)
      Specified by:
      getMarshaller in interface org.infinispan.protostream.SerializationContext.InstanceMarshallerProvider<T>