Class MarshallerRegistration


  • public final class MarshallerRegistration
    extends java.lang.Object
    Since:
    6.0
    Author:
    anistor@redhat.com
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void registerMarshallers​(org.infinispan.protostream.SerializationContext ctx)
      Registers proto files and marshallers.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • registerMarshallers

        public static void registerMarshallers​(org.infinispan.protostream.SerializationContext ctx)
                                        throws java.io.IOException
        Registers proto files and marshallers.
        Parameters:
        ctx - the serialization context
        Throws:
        org.infinispan.protostream.DescriptorParserException - if a proto definition file fails to parse correctly
        java.io.IOException - if proto file registration fails