Package db
Interface DBListener
- All Known Implementing Classes:
AddressRangeMapDB
public interface DBListener
Database Listener.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Database has been closedvoid
dbRestored
(DBHandle dbh) Provides notification that an undo or redo was performed.void
tableAdded
(DBHandle dbh, Table table) Provides notification that a table was added.void
tableDeleted
(DBHandle dbh, Table table) Provides notification that a table was deleted.
-
Method Details
-
dbRestored
Provides notification that an undo or redo was performed. During the restore processtableAdded(DBHandle, Table)
andtableDeleted(DBHandle, Table)
notifications will be supressed. Any listener concerned with tables added or removed should reacquire their table(s).- Parameters:
dbh
- associated database handle
-
dbClosed
Database has been closed- Parameters:
dbh
- associated database handle
-
tableDeleted
Provides notification that a table was deleted. The state of the database may still be in transition and should not be accessed by this callback method.- Parameters:
dbh
- associated database handletable
-
-
tableAdded
Provides notification that a table was added. The state of the database may still be in transition and should not be accessed by this callback method.- Parameters:
dbh
- associated database handletable
-
-