Namespace org.visab.dynamic
This package contains classes responsible creating instances of classes at runtime based on their fully classified class name.
The DyanmicInstantiator is used by the SessionListenerFactory of the processing package to avoid having to distinct games by a switch case. The DynamicSerializer is used to deserialize json data received by the API controller directly into the games corresponding java object.
Classes
DynamicHelper
Class containing helper methods used by the dynamic classes.
DynamicInstatiator
The DyanmicInstatiator using which instances can be created from a fully classified class name. Is used for creating SessionListener instances.
DynamicSerializer
The DynamicSerializer used for deserializing json strings into java objects with a classified class name. Used for deserializing into IStatistics, IImageContainer, IMetaInformation and IVISABFile.