|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.server.OracleDatabaseChangeListenerWrapper
public class OracleDatabaseChangeListenerWrapper
This class provides a wrapper for the Query Collection to listen to Oracle specific Database Change Notifications.
Constructor Summary | |
---|---|
OracleDatabaseChangeListenerWrapper() |
Method Summary | |
---|---|
protected java.util.Properties |
getRegistrationProperties() Get a list of properties used in the Oracle Database Change notification registration. |
void |
notify(java.util.EventObject dcEvt) Notify the query collection about a database event. |
void |
onDatabaseChangeNotification(oracle.jdbc.dcn.DatabaseChangeEvent dcEvt) * Internal: Applications should not use this interface. This method is used by Oracle JDBC Driver to notify this instance. |
void |
register(QueryCollection qc, java.sql.Connection conn, java.sql.Statement stmt) The method invoked by the Query Collection to register for database change events. |
void |
unregister() The listener must un-register itself from the database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OracleDatabaseChangeListenerWrapper()
Method Detail |
---|
public void register(QueryCollection qc, java.sql.Connection conn, java.sql.Statement stmt)
register
in interface ADFDatabaseChangeListener
qc
- The Query Collection registering for eventsconn
- The database connection handlestmt
- The statement handle that contains the SQL statement string and bind params to identify the result set.public void unregister()
unregister
in interface ADFDatabaseChangeListener
public void onDatabaseChangeNotification(oracle.jdbc.dcn.DatabaseChangeEvent dcEvt)
notify
instead.onDatabaseChangeNotification
in interface oracle.jdbc.dcn.DatabaseChangeListener
public void notify(java.util.EventObject dcEvt)
notify
in interface ADFDatabaseChangeListener
evt
- The details about the event that was generated by the databaseprotected java.util.Properties getRegistrationProperties()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |