public class DatabaseContextManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DatabaseContextManager.ContextWrapper |
Modifier and Type | Method and Description |
---|---|
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.
|
public static javax.naming.Context getDatabaseContext()
public static void setContextWrapper(DatabaseContextManager.ContextWrapper cw)
public static DatabaseContextManager.ContextWrapper getContextWrapper()