Class TestExit.MyDatabaseEventListener

  • All Implemented Interfaces:
    java.util.EventListener, DatabaseEventListener
    Enclosing class:
    TestExit

    public static final class TestExit.MyDatabaseEventListener
    extends java.lang.Object
    implements DatabaseEventListener
    A database event listener used in this test.
    • Constructor Detail

      • MyDatabaseEventListener

        public MyDatabaseEventListener()
    • Method Detail

      • closingDatabase

        public void closingDatabase()
        Description copied from interface: DatabaseEventListener
        This method is called before the database is closed normally. It is safe to connect to the database and execute statements at this point, however the connection must be closed before the method returns.
        Specified by:
        closingDatabase in interface DatabaseEventListener