Class PersisterFactory


  • public class PersisterFactory
    extends Object
    This class allows different components to access the current system persister.

    We need to be able to switch persisers at runtime without the components knowing about it!

    • Method Detail

      • getInstance

        public static Persister getInstance()
      • setPersister

        public static void setPersister​(Persister persister)
      • clearInstance

        public static void clearInstance()