Class IdentityObjectTable

java.lang.Object
org.wildfly.clustering.marshalling.jboss.IdentityObjectTable
All Implemented Interfaces:
org.jboss.marshalling.ObjectTable

public class IdentityObjectTable extends Object implements org.jboss.marshalling.ObjectTable
An ObjectTable based on an IdentityTable.
Author:
Paul Ferraro
  • Constructor Details

    • IdentityObjectTable

      public IdentityObjectTable(List<Object> objects)
      Creates an object table for the specified objects.
      Parameters:
      objects - a list of objects.
  • Method Details

    • getObjectWriter

      public org.jboss.marshalling.ObjectTable.Writer getObjectWriter(Object object)
      Specified by:
      getObjectWriter in interface org.jboss.marshalling.ObjectTable
    • readObject

      public Object readObject(org.jboss.marshalling.Unmarshaller unmarshaller) throws IOException
      Specified by:
      readObject in interface org.jboss.marshalling.ObjectTable
      Throws:
      IOException