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

E17486-02

oracle.adf.share.config
Class ADFConfigParsingContext

java.lang.Object
  extended by oracle.adf.share.config.ADFConfigParsingContext

public class ADFConfigParsingContext
extends java.lang.Object


Method Summary
 java.lang.String getApplicationName()
          Get the application name associated with this parsing context.
 java.lang.String getConfigFilename()
          Get the config file associated with this parsing context.
 java.lang.String getConfigFilePath()
          Returns the absolute path of the configuration file.
 java.lang.Object getContext()
          Return the context under which the file adf-config.xml is being read.
 ADFLogger getLogger()
          Will return subclassed ADFLogger that will use log additional information relative to the node currently being parsed, and the adf-config.xml file.
 boolean isReparse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

public ADFLogger getLogger()
Will return subclassed ADFLogger that will use log additional information relative to the node currently being parsed, and the adf-config.xml file.


getContext

public java.lang.Object getContext()
Return the context under which the file adf-config.xml is being read. Will return null for .ear(application) level adf-config.xml file Will return the ServletContext for a web based context.

Returns:
the Context

getApplicationName

public java.lang.String getApplicationName()
Get the application name associated with this parsing context.

Returns:
the application name.

isReparse

public boolean isReparse()

getConfigFilename

public java.lang.String getConfigFilename()
Get the config file associated with this parsing context. This would return META-INF/adf-config.xml or WEB-INF/adf-config.xml depending on which config file was being read.

Returns:
the config file name.

getConfigFilePath

public java.lang.String getConfigFilePath()
Returns the absolute path of the configuration file. File path provides the location of the configuration file for the named context.

Returns:
the absolute path. If no path is set (mainly for the WAR and EAR config files), this returns null.

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

E17486-02

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