Class SimpleClassTable

  • All Implemented Interfaces:
    org.jboss.marshalling.ClassTable
    Direct Known Subclasses:
    DynamicClassTable

    public class SimpleClassTable
    extends Object
    implements org.jboss.marshalling.ClassTable
    Simple ClassTable implementation based on an array of recognized classes.
    Author:
    Paul Ferraro
    • Constructor Detail

      • SimpleClassTable

        public SimpleClassTable​(Class<?>... classes)
      • SimpleClassTable

        public SimpleClassTable​(List<Class<?>> classes)
    • Method Detail

      • 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 input)
                           throws IOException
        Specified by:
        readClass in interface org.jboss.marshalling.ClassTable
        Throws:
        IOException