|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
All classes in SQL Dev Tools which need to be notified when connect events occur should implement this interface instead of
IConnectListener
to reduce the coupling between SQL Dev Tools and Connectivity layer, and meanwhile make the
boundary clear.
NOTE: we do not throw out CoreException
in openConnection
and
closeConnection
, and implementors can do anything in these two methods
Method Summary | |
void |
aboutToClose(ConnectEvent event)
The profile is about to close |
void |
closeConnection(ConnectEvent event)
The profile is to be disconnected |
boolean |
okToClose(ConnectEvent event)
Asks if the profile can be closed currently |
void |
profileConnected(ConnectEvent event)
The profile is connected. |
Method Detail |
public boolean okToClose(ConnectEvent event)
event
- the connect event
public void aboutToClose(ConnectEvent event)
event
- the connect eventpublic void profileConnected(ConnectEvent event)
event
- the connect eventpublic void closeConnection(ConnectEvent event)
event
- the connect event
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |