|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.1.0) E17486-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.share.config.ADFConfigFactory
public class ADFConfigFactory
The main factory class for adf-config.xml file. The methods expose various overloads to find or create an ADFConfig object.
Constructor Summary | |
---|---|
ADFConfigFactory()
|
Method Summary | |
---|---|
static void |
cleanUpApplicationCaches(java.lang.ClassLoader appClassLoader)
|
static void |
cleanUpApplicationState(java.lang.ClassLoader appClassLoader)
|
static void |
clearAdfConfigCaches(ADFConfigEx adfConfig)
|
protected ADFConfigImpl |
createApplication(java.lang.ClassLoader targetCL,
java.lang.String resourceName)
|
protected ADFConfigImpl |
createDefaultConfig()
If we didn't find an adf-config.xml you will get the default implementation. |
static void |
dumpApplicationsMap(java.util.Map<java.lang.Object,ADFConfigEx> curApplications)
|
static ADFConfigEx |
findADFConfig(java.lang.String namedConfig)
This method is used to retrieve the ADFConfig object for which the namedADFContext name is provided. |
static ADFConfigEx |
findOrCreateADFConfig()
This method returns the ADFConfig object based on the META-INF/adf-config.xml file if one exists or the default implementation if no such file exists. |
static ADFConfigEx |
findOrCreateADFConfig(boolean reparse)
This method forces the META-INF/adf-config.xml file for this application to be reparsed if the reparse value is true. |
static ADFConfigEx |
findOrCreateADFConfig(java.lang.String resourceName)
|
static ADFConfigEx |
findOrCreateADFConfig(java.lang.String name,
java.net.URL adfConfigUrl)
This method finds or creates if not found the ADFConfig object associated with the particular adf-config.xml file as specified by the URL. |
static ADFConfigEx |
findOrCreateADFConfig(java.lang.String name,
java.net.URL adfConfigUrl,
java.lang.Class configClass)
This method finds or creates if not found the ADFConfig object associated with the particular adf-config.xml file as specified by the URL. |
static void |
unregisterNamedConfig(java.lang.String namedConfig)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ADFConfigFactory()
Method Detail |
---|
public static ADFConfigEx findOrCreateADFConfig()
public static ADFConfigEx findOrCreateADFConfig(boolean reparse)
reparse
- If true forces the file contents to be reparsed.
public static ADFConfigEx findOrCreateADFConfig(java.lang.String resourceName)
protected ADFConfigImpl createApplication(java.lang.ClassLoader targetCL, java.lang.String resourceName)
protected ADFConfigImpl createDefaultConfig()
public static ADFConfigEx findADFConfig(java.lang.String namedConfig)
namedConfig
- The name of the NamedADFContext
public static ADFConfigEx findOrCreateADFConfig(java.lang.String name, java.net.URL adfConfigUrl)
name
- - the name of the NamedADFContext associated with this fileadfConfigUrl
- - the URL of the adf-config.xml file
public static ADFConfigEx findOrCreateADFConfig(java.lang.String name, java.net.URL adfConfigUrl, java.lang.Class configClass)
name
- - the name of the NamedADFContext associated with this fileadfConfigUrl
- - the URL of the adf-config.xml fileconfigClass
- - concrete class to be used
public static void unregisterNamedConfig(java.lang.String namedConfig)
public static void cleanUpApplicationState(java.lang.ClassLoader appClassLoader)
public static void cleanUpApplicationCaches(java.lang.ClassLoader appClassLoader)
public static void dumpApplicationsMap(java.util.Map<java.lang.Object,ADFConfigEx> curApplications)
public static void clearAdfConfigCaches(ADFConfigEx adfConfig)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.1.0) E17486-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |