Interface ProtostreamSerializationContextInitializer


  • @Deprecated
    public interface ProtostreamSerializationContextInitializer
    Deprecated.
    since 10.0, please provide a SerializationContextInitializer implementation via the server's SerializationConfiguration.
    Support for custom initialization of the server cache manager's SerializationContext. This is a hook for users to be able to add their own Protobuf definitions and register marshallers at startup.

    Implementations of this interface are discovered using the JDK's ServiceLoader utility, and should have a file called

    org.infinispan.query.remote.client.ProtostreamSerializationContextInitializer
    in the
    META-INF/services/
    folder in their jar, containing the fully qualified class name of the implementation.
    Since:
    9.3
    • Method Detail

      • init

        void init​(org.infinispan.protostream.SerializationContext serializationContext)
           throws IOException
        Deprecated.
        Throws:
        IOException