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
ConstructorsConstructorDescriptionModuleClassLoaderMarshaller(org.jboss.modules.Module defaultModule) ModuleClassLoaderMarshaller(org.jboss.modules.ModuleLoader loader) -
Method Summary
Modifier and TypeMethodDescriptionintreadFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader, int index, org.infinispan.protostream.descriptors.WireType type, ClassLoader loader) voidwriteTo(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, waitMethods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldReadable
nextIndexMethods inherited from interface org.wildfly.clustering.marshalling.protostream.FieldSetMarshaller
asMarshaller, asMarshallerMethods 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
- Specified by:
createInitialValuein interfaceorg.wildfly.clustering.marshalling.protostream.FieldSetMarshaller<ClassLoader,ClassLoader>
-
getFields
public int getFields()- Specified by:
getFieldsin interfaceorg.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:
readFromin interfaceorg.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:
writeToin interfaceorg.wildfly.clustering.marshalling.protostream.Writable<ClassLoader>- Throws:
IOException
-