Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adf.share
Interface ADFConfig

All Superinterfaces:
ADFSettings
All Known Subinterfaces:
ADFConfigEx
All Known Implementing Classes:
ADFConfigImpl

public interface ADFConfig
extends ADFSettings

This is an interface of ADF configuration object. The Application Configuration object will manage and store the Application wide configuration information for different components of an ADF application.

ADF configuration object is initilzed with ADF context object.

Since:
10.1.3
Version:
10.1.3, 02/05/05

Field Summary
static java.lang.String ADFCONFIG_META_FILENAME
           
static java.lang.String ADFCONFIG_MO_NAME
           
static java.lang.Class CLASS_INSTANCE
           
static java.lang.String CONFIG_FILENAME
           
static java.lang.String DEFAULT_CONFIGURATION
          Name of the default configuration for each component type.
static java.lang.String NAMESPACE
          Namespace for the adf config.
static java.lang.String ROOT_ELEMENT_NAME
          The root element name of adf config file.
 
Fields inherited from interface oracle.adf.share.ADFSettings
ADFSETTINGS_FILENAME, ADFSETTINGS_NAMESPACE, ADFSETTINGS_ROOT_ELEMENT_NAME
 
Method Summary
 oracle.adfnmc.javax.naming.Context getConnectionsContext()
          JNDI context containing the application connection definitions.
 java.lang.Object getId()
          Unique identifier for this application
 java.lang.Object getMDSInstance()
          Gets the MDS instance configured for this application
 java.lang.Object getMDSInstance(boolean bCreate)
          Gets the MDS instance, but controls if it should be created via the parameter.
 oracle.adfnmc.javax.naming.Context getSecurityContext()
          Security context containing the jaas configuration.
 List getSessionDefPackages()
           
 
Methods inherited from interface oracle.adf.share.ADFSettings
getConfigObject
 

Field Detail

CLASS_INSTANCE

static final java.lang.Class CLASS_INSTANCE

CONFIG_FILENAME

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

ADFCONFIG_META_FILENAME

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

ADFCONFIG_MO_NAME

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

DEFAULT_CONFIGURATION

static final java.lang.String DEFAULT_CONFIGURATION
Name of the default configuration for each component type.

See Also:
Constant Field Values

NAMESPACE

static final java.lang.String NAMESPACE
Namespace for the adf config.

See Also:
Constant Field Values

ROOT_ELEMENT_NAME

static final java.lang.String ROOT_ELEMENT_NAME
The root element name of adf config file.

See Also:
Constant Field Values
Method Detail

getMDSInstance

java.lang.Object getMDSInstance()
Gets the MDS instance configured for this application

Returns:
MDS instance the application is configured with or null if none exists.
Throws:
MDSConfigurationException - if the configuration is invalid or unresolvable.

getMDSInstance

java.lang.Object getMDSInstance(boolean bCreate)
Gets the MDS instance, but controls if it should be created via the parameter.

Parameters:
bCreate - whether to create if one does not exists and if applicable.
Returns:
MDS instance the application is configured with or null if none exists.
Throws:
MDSConfigurationException - if the configuration is invalid or unresolvable.

getSessionDefPackages

List getSessionDefPackages()

getId

java.lang.Object getId()
Unique identifier for this application


getConnectionsContext

oracle.adfnmc.javax.naming.Context getConnectionsContext()
                                                         throws oracle.adfnmc.javax.naming.NamingException
JNDI context containing the application connection definitions.

Throws:
oracle.adfnmc.javax.naming.NamingException

getSecurityContext

oracle.adfnmc.javax.naming.Context getSecurityContext()
                                                      throws oracle.adfnmc.javax.naming.NamingException
Security context containing the jaas configuration.

Throws:
oracle.adfnmc.javax.naming.NamingException

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.