Class SerializablePrototypeBeans


  • public class SerializablePrototypeBeans
    extends java.lang.Object
    Stroing the prototype beans instantiated by spring that are intended for serialization in a savegame.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2018 Created on Jan 05, 2018
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.ref.WeakReference<java.lang.Object>> serializablePrototypes  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.Object prototype)  
      java.util.List<java.lang.Object> getSerializablePrototypes()  
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • serializablePrototypes

        private java.util.List<java.lang.ref.WeakReference<java.lang.Object>> serializablePrototypes
    • Constructor Detail

      • SerializablePrototypeBeans

        public SerializablePrototypeBeans()
    • Method Detail

      • add

        public void add​(java.lang.Object prototype)
      • getSerializablePrototypes

        public java.util.List<java.lang.Object> getSerializablePrototypes()
      • reset

        public void reset()