|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tomgibara.pronto.logging.LoggingConfig
com.tomgibara.pronto.logging.impl.LoggingConfigImpl
public class LoggingConfigImpl
The standard fulfilment of the LoggingConfig class.
| Constructor Summary | |
|---|---|
LoggingConfigImpl()
|
|
| Method Summary | |
|---|---|
LoggingPolicy |
getPolicy()
The policy currently in use by this object. |
com.tomgibara.pronto.config.ConfigSource |
getSource()
The current source of configuration properties. |
void |
setPolicy(LoggingPolicy settings)
Sets the policy for this object. |
void |
setSource(com.tomgibara.pronto.config.ConfigSource source)
Sets the source of configuration properties for this object. |
void |
update()
Causes the logging to be reconfigured immediately with the properties from the current configuration source. |
| Methods inherited from class com.tomgibara.pronto.logging.LoggingConfig |
|---|
getInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoggingConfigImpl()
| Method Detail |
|---|
public void setPolicy(LoggingPolicy settings)
LoggingConfig
setPolicy in class LoggingConfigsettings - the policy to be used for this object, or nullpublic LoggingPolicy getPolicy()
LoggingConfig
getPolicy in class LoggingConfigpublic void setSource(com.tomgibara.pronto.config.ConfigSource source)
LoggingConfig
setSource in class LoggingConfigsource - the source of configuration information for the loggingpublic com.tomgibara.pronto.config.ConfigSource getSource()
LoggingConfig
getSource in class LoggingConfig
public void update()
throws ProntoLoggingException
LoggingConfig
update in class LoggingConfigProntoLoggingException - if reconfiguration of the logging failed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||