| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.jdeveloper.db.adapter.DatabaseContextManager
public class DatabaseContextManager
Central point that controls the JNDI Context used for database connections. Calling getDatabaseContext() will return null if the context wrapper hasn't been set yet - usually needs all addins to load.
| Nested Class Summary | |
|---|---|
static interface | 
DatabaseContextManager.ContextWrapper | 
| Method Summary | |
|---|---|
static DatabaseContextManager.ContextWrapper | 
getContextWrapper()Returns the current context wrapper.  | 
static javax.naming.Context | 
getDatabaseContext()Returns the JNDI Context that contains the database connections in the current session.  | 
static void | 
setContextWrapper(DatabaseContextManager.ContextWrapper cw)Sets which naming Context we should be using to look for database connections in.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static javax.naming.Context getDatabaseContext()
public static void setContextWrapper(DatabaseContextManager.ContextWrapper cw)
public static DatabaseContextManager.ContextWrapper getContextWrapper()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.1) E67661-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||