Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


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 DOCUMENT_STORE
           
static java.lang.String EVALUATE_STRING_ELS
           
static java.lang.String INITIAL_CTX_FACTORY
           
static java.lang.String LISTENER_DOM_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
           
static java.lang.String REFERENCES
           

 

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

LISTENER_DOM_BACKING_STORE

public static final java.lang.String LISTENER_DOM_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

REFERENCES

public static final java.lang.String REFERENCES
See Also:
Constant Field Values

DOCUMENT_STORE

public static final java.lang.String DOCUMENT_STORE
See Also:
Constant Field Values

INITIAL_CTX_FACTORY

public static final java.lang.String INITIAL_CTX_FACTORY
See Also:
Constant Field Values

EVALUATE_STRING_ELS

public static final java.lang.String EVALUATE_STRING_ELS
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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 2 (11.1.2.3.0)

E17486-04


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