|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.dt.ConnectionsProvider
The Connections
class is the folder responsible maintaining
the database connections.
This is a singleton class.
Constructor Summary | |
ConnectionsProvider()
Constructor. |
Method Summary | |
void |
addConnection(ConnectionDescriptor connDesc)
Added a named connection to the Navigator |
void |
addConnection(java.lang.String connName)
Added a named connection to the Navigator |
void |
addConnection(java.lang.String connName,
boolean notifyObs)
Added a named connection to the Navigator |
ConnectionNode |
getConnectionNode(java.lang.String connName)
Gets the ConnectionNode for a given connection name
|
static ConnectionsProvider |
getInstance()
The Connections folder is a singleton class. |
void |
loadConnections()
Addin authors should not call this method. |
void |
registerConnectionClass(java.lang.String cClass,
BaseConnections node)
|
void |
removeConnection(ConnectionDescriptor connDesc)
Removes a named connection to the Navigator |
void |
removeConnection(java.lang.String connName)
Removes a named connection to the Navigator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConnectionsProvider() throws SingletonClassException
SingletonClassException
- thrown when this class is instantiated
more than once.Method Detail |
public static ConnectionsProvider getInstance()
Connections
folder is a singleton class. This method
gets this folder's single instance.
Connections
folder single instance.public void addConnection(java.lang.String connName)
public void addConnection(java.lang.String connName, boolean notifyObs)
public void addConnection(ConnectionDescriptor connDesc)
public void removeConnection(java.lang.String connName)
public void removeConnection(ConnectionDescriptor connDesc)
public void loadConnections()
public ConnectionNode getConnectionNode(java.lang.String connName)
ConnectionNode
for a given connection name
Note: this will open the connection node if it is not already opened.
public void registerConnectionClass(java.lang.String cClass, BaseConnections node)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.