Class IdentityClassTable

java.lang.Object
org.wildfly.clustering.marshalling.jboss.IdentityClassTable
All Implemented Interfaces:
org.jboss.marshalling.ClassTable

public class IdentityClassTable extends Object implements org.jboss.marshalling.ClassTable
A ClassTable based on an IdentityTable.
Author:
Paul Ferraro
  • Constructor Details

    • IdentityClassTable

      public IdentityClassTable(List<Class<?>> classes)
      Creates a new class table for the specified classes.
      Parameters:
      classes - a list of classes
  • Method Details

    • getClassWriter

      public org.jboss.marshalling.ClassTable.Writer getClassWriter(Class<?> targetClass)
      Specified by:
      getClassWriter in interface org.jboss.marshalling.ClassTable
    • readClass

      public Class<?> readClass(org.jboss.marshalling.Unmarshaller unmarshaller) throws IOException
      Specified by:
      readClass in interface org.jboss.marshalling.ClassTable
      Throws:
      IOException