Package org.jboss.serial.persister

Examples of org.jboss.serial.persister.Persister.writeData()


            }
           
            Persister persister = PersistResolver.resolvePersister(obj,metaData);

            outputParent.writeByte(persister.getId());
            persister.writeData(metaData, cache.getOutput(), obj, cache.getSubstitution());

            return;
        }
    }
View Full Code Here


  
   public void writeObject(JBossSeralizationOutputInterface output, ObjectsCache cache, ClassMetaData metadata, Object obj) throws IOException
   {
      Persister persister = PersistResolver.resolvePersister(obj,metadata);
      output.writeByte(persister.getId());
      persister.writeData(metadata, cache.getOutput(), obj, cache.getSubstitution());
   }

   public Object readObjectSpecialCase(JBossSeralizationInputInterface input, ObjectsCache cache, byte byteIdentify) throws IOException
   {
      return input.readImmutable(byteIdentify,cache);
View Full Code Here

/*     */     }
/*     */
/* 273 */     Persister persister = PersistResolver.resolvePersister(obj, metaData);
/*     */
/* 275 */     outputParent.writeByte(persister.getId());
/* 276 */     persister.writeData(metaData, cache.getOutput(), obj, cache.getSubstitution());
/*     */   }
/*     */
/*     */   private static Object readObjectDescriptionFromStreaming(ObjectsCache cache, int reference, ObjectsCache.JBossSeralizationInputInterface input)
/*     */     throws IOException
/*     */   {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.