Skip navigation links

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

E10686-03


oracle.adf.share.config
Class FallbackConfigImpl

java.lang.Object
  extended by oracle.adf.share.config.ADFConfigImpl
      extended by oracle.adf.share.config.FallbackConfigImpl

All Implemented Interfaces:
ADFConfig, ADFConfigEx, ADFSettings

public class FallbackConfigImpl
extends ADFConfigImpl

ADFConfig fallback implementation. Used when we don't have a persistent adf configuration available. ADF configuration is persisted in adf-config.xml. This class extends from ADFConfigImpl, because for cases where the adf-config.xml file does not exist at the .ear level but exists at the .war level, we still need one ADFConfigImpl object for reference. The methods in the FallbackImpl are only to facilitate must have default configurations for applications.

See Also:
ADFConfig, ADFConfigFactory, ADFConfigImpl

Field Summary

 

Fields inherited from class oracle.adf.share.config.ADFConfigImpl
_applicationName, _callbackMap, _namedConfig, _resourceReadList, _storedResults, _storeParsedElements, _url, ADF_CONFIG_CHILD, CALLBACK_FILE

 

Fields inherited from interface oracle.adf.share.ADFConfig
ADFCONFIG_META_FILENAME, ADFCONFIG_MO_NAME, CONFIG_FILENAME, DEFAULT_CONFIGURATION, NAMESPACE, ROOT_ELEMENT_NAME

 

Fields inherited from interface oracle.adf.share.ADFSettings
ADFSETTINGS_FILENAME, ADFSETTINGS_NAMESPACE, ADFSETTINGS_ROOT_ELEMENT_NAME

 

Method Summary
 javax.naming.Context getConnectionsContext()
          JNDI context containing the application connection definitions.
 java.lang.Object getMDSInstance()
          Gets the mds instance configured for this application
 javax.naming.Context getSecurityContext()
          Security context containing the jaas configuration.
 java.util.List getSessionDefPackages()
           
 void releaseResources()
          Releases resources allocated by the config

 

Methods inherited from class oracle.adf.share.config.ADFConfigImpl
addScopeListener, getApplicationName, getCallBackMap, getConfigObject, getConfigObject, getDocumentElement, getId, getMDSInstance, init, parseConfigFirstPass, readConfig, readConfig, removeScopeListener, reset, updateIfNeeded

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getMDSInstance

public java.lang.Object getMDSInstance()
Description copied from interface: ADFConfig
Gets the mds instance configured for this application
Specified by:
getMDSInstance in interface ADFConfig
Overrides:
getMDSInstance in class ADFConfigImpl

getSessionDefPackages

public java.util.List getSessionDefPackages()
Specified by:
getSessionDefPackages in interface ADFConfig
Overrides:
getSessionDefPackages in class ADFConfigImpl

getConnectionsContext

public javax.naming.Context getConnectionsContext()
                                           throws javax.naming.NamingException
Description copied from interface: ADFConfig
JNDI context containing the application connection definitions.
Specified by:
getConnectionsContext in interface ADFConfig
Overrides:
getConnectionsContext in class ADFConfigImpl
Throws:
javax.naming.NamingException

getSecurityContext

public javax.naming.Context getSecurityContext()
                                        throws javax.naming.NamingException
Description copied from interface: ADFConfig
Security context containing the jaas configuration.
Specified by:
getSecurityContext in interface ADFConfig
Overrides:
getSecurityContext in class ADFConfigImpl
Throws:
javax.naming.NamingException

releaseResources

public void releaseResources()
Description copied from interface: ADFConfigEx
Releases resources allocated by the config
Specified by:
releaseResources in interface ADFConfigEx
Overrides:
releaseResources in class ADFConfigImpl

Skip navigation links

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

E10686-03


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