@Override
    public void fromData(DataInput dataInput) throws IOException {
      data = DataSerializer.readByteArray(dataInput);
    }
This class makes sure that instantatiors are persisted to disk and can be recovered.
geode-core/src/integrationTest/java/org/apache/geode/DiskInstantiatorsJUnitTest.java