|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public boolean getAutoAttachEnabled()
public void setAutoAttachEnabled(boolean b)
b
- public java.sql.Connection createConnection(boolean autoattach, java.lang.String[] connId) throws java.sql.SQLException, CoreException, 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
CoreException
NoSuchProfileException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |