public Object readData(
     ClassLoader loader,
     StreamingClass streaming,
     ClassMetaData metaData,
     int referenceId,
     ObjectsCache cache,
     ObjectInput input,
     ObjectSubstitutionInterface substitution)
     throws IOException {
   Object obj = metaData.newInstance();
   cache.putObjectInCacheRead(referenceId, obj);
   return defaultRead(input, obj, streaming, metaData, substitution);
 }
Пример #2
0
 public void reassignObjectInCacheRead(int key, Object value) {
   objectsCacheOnRead.remove(key);
   putObjectInCacheRead(key, value);
 }