Class ModuleClassLoaderMarshaller

    • Constructor Detail

      • ModuleClassLoaderMarshaller

        public ModuleClassLoaderMarshaller​(org.jboss.modules.Module defaultModule)
      • ModuleClassLoaderMarshaller

        public ModuleClassLoaderMarshaller​(org.jboss.modules.ModuleLoader loader)
    • Method Detail

      • readFrom

        public ClassLoader readFrom​(ProtoStreamReader reader,
                                    int index,
                                    org.infinispan.protostream.descriptors.WireType type,
                                    ClassLoader loader)
                             throws IOException
        Description copied from interface: FieldReadable
        Reads a single field from the specified reader.
        Specified by:
        readFrom in interface FieldReadable<ClassLoader>
        Parameters:
        reader - a reader
        index - the zero-based index, relative to this field set, of the field to be read
        type - the wire type of the field to be read
        loader - the current value
        Returns:
        the read value
        Throws:
        IOException - if a field could not be read