|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.share.connection.ConnectionTypeManager
public final class ConnectionTypeManager
Manages the set of ConnectionTypes that are available in the deployed environment. Each available ConnectionType must be registered with the ConnectionTypeManager before the resource catalog considers that type to be available for usage.
Method Summary | |
---|---|
ConnectionType |
getConnectionType(java.lang.String id)
Find the ConnectionType with the specified connection id |
java.util.Map |
getConnectionTypes()
Get a Map containing all the registered connection types |
static ConnectionTypeManager |
getInstance()
Returns the ProviderTypeManager instance. |
ConnectionType |
lookup(java.lang.Class connectionCls)
Find the ConnectionType for the specified connection class |
ConnectionType |
lookup(javax.naming.Referenceable connection)
Find the ConnectionType for the specified connection instance |
ConnectionType |
lookup(java.lang.String connectionClassName)
|
void |
register(ConnectionType type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ConnectionTypeManager getInstance()
public void register(ConnectionType type) throws ConnectionException
ConnectionException
public ConnectionType getConnectionType(java.lang.String id)
id
- the ID of the required connection type
public ConnectionType lookup(javax.naming.Referenceable connection)
connection
- the Referenceable for which a ConnectionType is
being requested
public ConnectionType lookup(java.lang.Class connectionCls)
connectionCls
- the connection class for which a ConnectionType is
being requested
public ConnectionType lookup(java.lang.String connectionClassName)
public java.util.Map getConnectionTypes()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 1 (11.1.1.4.0) E10686-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |