Class ModuleClassLoaderMarshaller

java.lang.Object
org.wildfly.clustering.marshalling.protostream.modules.ModuleClassLoaderMarshaller
All Implemented Interfaces:
org.wildfly.clustering.marshalling.protostream.ClassLoaderMarshaller, org.wildfly.clustering.marshalling.protostream.FieldReadable<ClassLoader>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<ClassLoader,ClassLoader>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<ClassLoader>, org.wildfly.clustering.marshalling.protostream.Writable<ClassLoader>

public class ModuleClassLoaderMarshaller extends Object implements org.wildfly.clustering.marshalling.protostream.ClassLoaderMarshaller
Author:
Paul Ferraro
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller

    org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple<T extends Object>, org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Supplied<T extends Object,V extends Supplier<T>>
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModuleClassLoaderMarshaller(org.jboss.modules.Module defaultModule)
     
    ModuleClassLoaderMarshaller(org.jboss.modules.ModuleLoader loader)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
    readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, ClassLoader loader)
     
    void
    writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, ClassLoader loader)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldReadable

    nextIndex

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller

    asMarshaller, asMarshaller

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller.Simple

    build
  • Constructor Details

    • ModuleClassLoaderMarshaller

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

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

    • createInitialValue

      public ClassLoader createInitialValue()
      Specified by:
      createInitialValue in interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<ClassLoader,ClassLoader>
    • getFields

      public int getFields()
      Specified by:
      getFields in interface org.wildfly.clustering.marshalling.protostream.FieldReadable<ClassLoader>
    • readFrom

      public ClassLoader readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, ClassLoader loader) throws IOException
      Specified by:
      readFrom in interface org.wildfly.clustering.marshalling.protostream.FieldReadable<ClassLoader>
      Throws:
      IOException
    • writeTo

      public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, ClassLoader loader) throws IOException
      Specified by:
      writeTo in interface org.wildfly.clustering.marshalling.protostream.Writable<ClassLoader>
      Throws:
      IOException