Package org.infinispan.marshall.exts
Class ClassExternalizer
- java.lang.Object
-
- org.infinispan.marshall.exts.ClassExternalizer
-
- All Implemented Interfaces:
Serializable,org.infinispan.commons.marshall.AdvancedExternalizer<Class>,org.infinispan.commons.marshall.Externalizer<Class>
public class ClassExternalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<Class>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassExternalizer(ClassLoader cl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetId()Set<Class<? extends Class>>getTypeClasses()ClassreadObject(ObjectInput in)voidwriteObject(ObjectOutput out, Class o)
-
-
-
Constructor Detail
-
ClassExternalizer
public ClassExternalizer(ClassLoader cl)
-
-
Method Detail
-
getTypeClasses
public Set<Class<? extends Class>> getTypeClasses()
- Specified by:
getTypeClassesin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<Class>
-
getId
public Integer getId()
- Specified by:
getIdin interfaceorg.infinispan.commons.marshall.AdvancedExternalizer<Class>
-
writeObject
public void writeObject(ObjectOutput out, Class o) throws IOException
- Specified by:
writeObjectin interfaceorg.infinispan.commons.marshall.Externalizer<Class>- Throws:
IOException
-
readObject
public Class readObject(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readObjectin interfaceorg.infinispan.commons.marshall.Externalizer<Class>- Throws:
IOExceptionClassNotFoundException
-
-