|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IControlConnectionExtension
This is an adapter interface. It is used for IControlConnection(s) that support auto attach. If auto attach is enabled, new connections will be automatically attached for debug.
| Method Summary | |
|---|---|
java.sql.Connection |
createConnection(boolean autoattach,
java.lang.String[] connId)
Creates a new connection using same profile as this. |
boolean |
getAutoAttachEnabled()
Gets whether currently auto attach is enabled. |
void |
setAutoAttachEnabled(boolean b)
Enables/disables auto attach support. |
| Method Detail |
|---|
boolean getAutoAttachEnabled()
void setAutoAttachEnabled(boolean b)
b -
java.sql.Connection createConnection(boolean autoattach,
java.lang.String[] connId)
throws java.sql.SQLException,
org.eclipse.core.runtime.CoreException,
org.eclipse.datatools.sqltools.core.profile.NoSuchProfileException
autoattach - if true and auto attach enabled for this, then will also auto
attach the new connection.
if false, then will skip the connection.connId - return the new connection's connection id. If null, means don't care.
java.sql.SQLException
org.eclipse.core.runtime.CoreException
org.eclipse.datatools.sqltools.core.profile.NoSuchProfileException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||