public class ADFConfigFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ADFConfigFactory.ClassLoaderExclusionMarker |
Constructor and Description |
---|
ADFConfigFactory() |
Modifier and Type | Method and Description |
---|---|
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()
Find the default ADFConfig without loading.
|
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 java.lang.Object |
internalFindADFConfigId() |
static void |
unregisterNamedConfig(java.lang.String namedConfig) |
public static ADFConfigEx findOrCreateADFConfig()
@Concealed 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@Concealed public static java.lang.Object internalFindADFConfigId()
public static ADFConfigEx findADFConfig()
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 filepublic 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 usedpublic 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)