interface XDatabaseAccessListener in module com::sun::star::sdb:: |
interface XDatabaseAccessListener : com::sun::star::lang::XEventListener ;
is used for receiving "connectionChanged", "approveConnectionClose", and "connectionClosing" events posted by a database access bean.
A database access bean setting may be changed to connect to a different database. In that case, the connection of the bean must be closed and a new connection must be established. The could affect the current data processing on the bean, as it could be shared by a number of components. To prevent the bean from closing it's connection, a DatabaseAccessListener could abort the closing.
Method Summary |
|
connectionChanged | indicates that a new connection for the bean has been established. |
approveConnectionClosing | indicates that the connection of the bean will be closed. If there are pending actions on the connection of the bean, "approveConnectionClosing" should return false . |
connectionClosing | indicates that the connection will definitely be closed. |
Method Details |
||||
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.