|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nakedobjects.Application
Constructor Summary | |
Application()
|
Method Summary | |
protected void |
configureSystemLogging()
Configures Apache LOG4J to default logging. |
protected static boolean |
hasProperty(java.lang.String key)
Indicates whether the named configuration property exists. |
protected static void |
loadConfiguration(java.lang.String configFile,
java.lang.String defaultConfigFile)
Loads up the specified configuration file. |
protected static void |
set(java.lang.String key,
java.lang.String value)
Allows a configuration property to be programmatically set, or overriden. |
protected static java.lang.String |
setting(java.lang.String key)
Retrieves the named property value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Application()
Method Detail |
protected void configureSystemLogging() throws ConfigurationException
ConfigurationException
protected static boolean hasProperty(java.lang.String key)
protected static void set(java.lang.String key, java.lang.String value)
key
- name of the propertyvalue
- the value of the propertyprotected static java.lang.String setting(java.lang.String key) throws ConfigurationException
ConfigurationException
- when the specfied property does not exist.protected static void loadConfiguration(java.lang.String configFile, java.lang.String defaultConfigFile) throws ConfigurationException
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |