Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

oracle.adf.share.jndi
Class AdfJndiHelper

java.lang.Object
  extended by oracle.adf.share.jndi.AdfJndiHelper

public final class AdfJndiHelper
extends java.lang.Object

Since:
release specific (what release of product did this appear in)

Field Summary
static java.lang.String CONN_INIT_REQUIRED
           
static java.lang.String CONN_MBEAN_EXECUTING
           
static java.lang.String CREATE_SESSION_BACKING_STORE
           
static java.lang.String NAMED_CONTEXT_ENV
           
static java.lang.String READ_ONLY_BACKING_STORE
           
static java.lang.String READ_ONLY_FILESYSTEM_BACKING_STORE
           
 
Constructor Summary
AdfJndiHelper()
           
 
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
 

Field Detail

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
Constructor Detail

AdfJndiHelper

public AdfJndiHelper()
Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

Copyright © 1997, 2011, Oracle. All rights reserved.