Class SerializablePrototypeBeans
- java.lang.Object
-
- ch.sahits.game.openpatrician.utilities.spring.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
-
Constructor Summary
Constructors Constructor Description SerializablePrototypeBeans()
-
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()
-