|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.AWTEventMulticaster | +--com.ibm.db.DatabaseConnectionBeforeEventMulticaster
DatabaseConnectionBeforeEventMulticaster is the event multicaster class to support the DatabaseConnectionBeforeListener interface.
Field Summary | |
private static java.lang.String |
copyright
|
Fields inherited from class java.awt.AWTEventMulticaster |
a,
b |
Constructor Summary | |
protected |
DatabaseConnectionBeforeEventMulticaster(DatabaseConnectionBeforeListener a,
DatabaseConnectionBeforeListener b)
Constructor to support multicast events. |
Method Summary | |
void |
aboutToCommit(DataEvent event)
Invoked before DatabaseConnection.commit is executed. |
void |
aboutToConnect(DataEvent event)
Invoked before DatabaseConnection.connect is executed. |
void |
aboutToDisconnect(DataEvent event)
Invoked before DatabaseConnection.disconnect is executed. |
void |
aboutToRollback(DataEvent event)
Invoked before DatabaseConnection.rollback is executed. |
static DatabaseConnectionBeforeListener |
add(DatabaseConnectionBeforeListener a,
DatabaseConnectionBeforeListener b)
Add new listener to support multicast events. |
protected static java.util.EventListener |
addInternal(java.util.EventListener a,
java.util.EventListener b)
Returns the resulting multicast listener from adding listener-a and listener-b together. |
static DatabaseConnectionBeforeListener |
remove(DatabaseConnectionBeforeListener a,
DatabaseConnectionBeforeListener b)
Remove listener to support multicast events. |
protected java.util.EventListener |
remove(java.util.EventListener oldl)
Removes a listener from this multicaster and returns the resulting multicast listener. |
protected static java.util.EventListener |
removeInternal(java.util.EventListener l,
java.util.EventListener oldl)
Returns the resulting multicast listener after removing the old listener from listener-l. |
Methods inherited from class java.awt.AWTEventMulticaster |
actionPerformed,
add,
add,
add,
add,
add,
add,
add,
add,
add,
add,
add,
add,
adjustmentValueChanged,
caretPositionChanged,
componentAdded,
componentHidden,
componentMoved,
componentRemoved,
componentResized,
componentShown,
focusGained,
focusLost,
inputMethodTextChanged,
itemStateChanged,
keyPressed,
keyReleased,
keyTyped,
mouseClicked,
mouseDragged,
mouseEntered,
mouseExited,
mouseMoved,
mousePressed,
mouseReleased,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
remove,
save,
saveInternal,
textValueChanged,
windowActivated,
windowClosed,
windowClosing,
windowDeactivated,
windowDeiconified,
windowIconified,
windowOpened |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final java.lang.String copyright
Constructor Detail |
protected DatabaseConnectionBeforeEventMulticaster(DatabaseConnectionBeforeListener a, DatabaseConnectionBeforeListener b)
a
- DatabaseConnectionBeforeListenerb
- DatabaseConnectionBeforeListenerMethod Detail |
public void aboutToCommit(DataEvent event)
DatabaseConnection.commit
is executed.event
- DataEventpublic void aboutToConnect(DataEvent event)
DatabaseConnection.connect
is executed.event
- DataEventpublic void aboutToDisconnect(DataEvent event)
DatabaseConnection.disconnect
is executed.event
- DataEventpublic void aboutToRollback(DataEvent event)
DatabaseConnection.rollback
is executed.event
- DataEventpublic static DatabaseConnectionBeforeListener add(DatabaseConnectionBeforeListener a, DatabaseConnectionBeforeListener b)
a
- DatabaseConnectionBeforeListenerb
- DatabaseConnectionBeforeListenerprotected static java.util.EventListener addInternal(java.util.EventListener a, java.util.EventListener b)
a
- event listener-ab
- event listener-bpublic static DatabaseConnectionBeforeListener remove(DatabaseConnectionBeforeListener a, DatabaseConnectionBeforeListener b)
a
- DatabaseConnectionBeforeListenerb
- DatabaseConnectionBeforeListenerprotected java.util.EventListener remove(java.util.EventListener oldl)
oldl
- the listener to be removedprotected static java.util.EventListener removeInternal(java.util.EventListener l, java.util.EventListener oldl)
l
- the listener being removed fromoldl
- the listener being removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |