Skip navigation links
oracle.adf.share.jndi
Class AdfJndiHelper
java.lang.Object
oracle.adf.share.jndi.AdfJndiHelper
-
public final class AdfJndiHelper
- extends java.lang.Object
- Since:
- release specific (what release of product did this appear in)
Method Summary |
static javax.naming.Context |
createDefaultNonCachedConnectionsContext()
This method creates the ADF Connection Architecture's based InitialContext with using the default DocumentBackingStore (MDSBackingStore) such that the returned context is writable if possible, and non-cached. |
static javax.naming.Context |
createReadOnlyFileSystemContext(java.lang.String connectionsFile)
This method creates the ADF Connection Architecture's based InitialContext with a FileSystemBackingStore which is not updateable. |
static javax.naming.Context |
createReadOnlyFileSystemContext(java.lang.String connectionsFile, java.lang.String namedContext)
This method creates the ADF Connection Architecture's based InitialContext with a FileSystemBackingStore which is not updateable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
READ_ONLY_FILESYSTEM_BACKING_STORE
public static final java.lang.String READ_ONLY_FILESYSTEM_BACKING_STORE
-
- See Also:
- Constant Field Values
READ_ONLY_BACKING_STORE
public static final java.lang.String READ_ONLY_BACKING_STORE
-
- See Also:
- Constant Field Values
CREATE_SESSION_BACKING_STORE
public static final java.lang.String CREATE_SESSION_BACKING_STORE
-
- See Also:
- Constant Field Values
NAMED_CONTEXT_ENV
public static final java.lang.String NAMED_CONTEXT_ENV
-
- See Also:
- Constant Field Values
CONN_INIT_REQUIRED
public static final java.lang.String CONN_INIT_REQUIRED
-
- See Also:
- Constant Field Values
CONN_MBEAN_EXECUTING
public static final java.lang.String CONN_MBEAN_EXECUTING
-
- See Also:
- Constant Field Values
AdfJndiHelper
public AdfJndiHelper()
createReadOnlyFileSystemContext
public static final javax.naming.Context createReadOnlyFileSystemContext(java.lang.String connectionsFile)
- This method creates the ADF Connection Architecture's based InitialContext with a FileSystemBackingStore which is not updateable.
-
- Parameters:
connectionsFile
- is the absolute path to the file in which connections are stored.
- Returns:
- The InitialContext
createReadOnlyFileSystemContext
public static final javax.naming.Context createReadOnlyFileSystemContext(java.lang.String connectionsFile,
java.lang.String namedContext)
- This method creates the ADF Connection Architecture's based InitialContext with a FileSystemBackingStore which is not updateable.
-
- Parameters:
connectionsFile
- is the absolute path to the file in which connections are stored.
- Returns:
- The InitialContext
createDefaultNonCachedConnectionsContext
public static final javax.naming.Context createDefaultNonCachedConnectionsContext()
throws javax.naming.NamingException
- This method creates the ADF Connection Architecture's based InitialContext with using the default DocumentBackingStore (MDSBackingStore) such that the returned context is writable if possible, and non-cached. This means, it always returns the latest contents of the connections.xml document.
-
- Parameters:
connectionsFile
- is the absolute path to the file in which connections are stored.
- Returns:
- The InitialContext
- Throws:
javax.naming.NamingException
Skip navigation links
Copyright © 1997, 2011, Oracle. All rights reserved.