Interface PersistenceMarshaller

    • Method Detail

      • register

        void register​(org.infinispan.protostream.SerializationContextInitializer initializer)
        Registers the schemas and marshallers defined by the provided SerializationContextInitializer with the PersistenceMarshaller's SerializationContext.
        Parameters:
        initializer - whose schemas and marshallers' will be registered with the PersistenceMarshaller SerializationContext
        Throws:
        NullPointerException - if initializer is null.
      • getUserMarshaller

        Marshaller getUserMarshaller()
        Returns:
        a custom marshaller configured by SerializationContext if one exists, otherwise the default ProtoStream based marshaller is returned.