Class MySqlPersistenceManager

    • Constructor Detail

      • MySqlPersistenceManager

        public MySqlPersistenceManager()
    • Method Detail

      • init

        public void init​(PMContext context)
                  throws Exception
        Initializes the persistence manager. The persistence manager is permanently bound to the given context, and any required external resources are acquired.

        An appropriate exception is thrown if the persistence manager initialization fails for whatever reason. In this case the state of the persistence manager is undefined and the instance should be discarded. Initializes the internal structures of this abstract persistence manager.

        Specified by:
        init in interface PersistenceManager
        init in class BundleDbPersistenceManager
        context - persistence manager context
        Exception - if the persistence manager initialization failed