Class TestDatabaseEventListener.Init

java.lang.Object
org.h2.test.jdbc.TestDatabaseEventListener.Init
All Implemented Interfaces:
EventListener, DatabaseEventListener
Enclosing class:
TestDatabaseEventListener

public static class TestDatabaseEventListener.Init extends Object implements DatabaseEventListener
Initialize the database after opening.
  • Constructor Details

    • Init

      public Init()
  • Method Details

    • init

      public void init(String url)
      Description copied from interface: DatabaseEventListener
      This method is called just after creating the object. This is done when opening the database if the listener is specified in the database URL, but may be later if the listener is set at runtime with the SET SQL statement.
      Specified by:
      init in interface DatabaseEventListener
      Parameters:
      url - - the database URL
    • opened

      public void opened()
      Description copied from interface: DatabaseEventListener
      This method is called after the database has been opened. It is safe to connect to the database and execute statements at this point.
      Specified by:
      opened in interface DatabaseEventListener