|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is for manage all control connections. You should get a refrence to this interface through:
dmpplugin.getControlConnectionManager()
It's not intended to be implemented by clients.
| Method Summary | |
void |
addControlConnectionListener(IControlConnectionListener listener)
Adds an IControlConnectionListener to receive the control connection update events |
IControlConnection |
getControlConnection(DatabaseIdentifier databaseIdentifier)
Checks whether there is a controlconnection exists for the specified database identifier. |
IControlConnection[] |
getControlConnections()
Retrieves all controlconnections registered in this control connection manager |
IControlConnection[] |
getControlConnections(java.lang.String profileName)
Checks whether there are control connections exist for the specified connection profile. |
IControlConnection |
getOrCreateControlConnection(DatabaseIdentifier databaseIdentifier)
Gets an controlconnection given the profile. |
boolean |
hasControlConnection()
Whether there's registered control connection |
void |
removeControlConnectionListener(IControlConnectionListener listener)
Removes an IControlConnectionListener from receiving the control connection update events |
void |
shutdown()
Shuts down this control connection manager. |
| Method Detail |
public IControlConnection getOrCreateControlConnection(DatabaseIdentifier databaseIdentifier)
throws java.sql.SQLException,
NoSuchProfileException
databaseIdentifier - database identifier
java.sql.SQLException
NoSuchProfileExceptionpublic IControlConnection getControlConnection(DatabaseIdentifier databaseIdentifier)
databaseIdentifier - the database identifier
public IControlConnection[] getControlConnections()
public IControlConnection[] getControlConnections(java.lang.String profileName)
profileName - the connection profile name
public void addControlConnectionListener(IControlConnectionListener listener)
listener - the event listenerpublic void removeControlConnectionListener(IControlConnectionListener listener)
listener - the event listenerpublic boolean hasControlConnection()
public void shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||