| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.stellent.wcm.client.ConfigurationFileLoader
oracle.stellent.wcm.client.ConfigurationFileLoader
public class ConfigurationFileLoader
Loads and monitors a configuration file
| Constructor Summary | |
|---|---|
| ConfigurationFileLoader(Resource configFile) | |
| ConfigurationFileLoader(Resource configFile, Resource runtimeConfig) | |
| Method Summary | |
|---|---|
|  Configuration | getConfiguration() | 
|  boolean | isConfigUpdated()Check the URL of the configuration file to see if it was updated | 
| protected  Configuration | loadConfiguration(Resource configFile)Load the configuration file | 
| protected  java.util.Properties | loadRuntimeProperties(Resource runtimeConfig)Load the runtime properties from the given URL | 
| protected  void | modifyConfig(Configuration configuration)Allow subclasses to modify the config before attempting initialization | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ConfigurationFileLoader(Resource configFile)
public ConfigurationFileLoader(Resource configFile,
                               Resource runtimeConfig)
| Method Detail | 
|---|
public Configuration getConfiguration()
                               throws ApplicationException
getConfiguration in interface ConfigurationLoaderApplicationExceptionpublic boolean isConfigUpdated()
protected java.util.Properties loadRuntimeProperties(Resource runtimeConfig)
runtimeConfig - the resource to the runtime properties
protected Configuration loadConfiguration(Resource configFile)
                                   throws ApplicationException
configFile - the configuration fileApplicationExceptionprotected void modifyConfig(Configuration configuration)
configuration - the configuration object| 
 | Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||