|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.log.LogConfigurationInitializer
public class LogConfigurationInitializer
Created by The eXo Platform SAS.
The component for commons based
logging configuration initialization. There are 3 optional initialization
parameters: logger - a logger class implemented
org.apache.commons.logging.Log configurator - a log system configurator
implementation of LogConfigurator parameters - list of parameters for the
configurator
| Constructor Summary | |
|---|---|
LogConfigurationInitializer(InitParams params)
Constructor for in-container using |
|
LogConfigurationInitializer(String logger,
String configurator,
Properties properties)
Simple constructor, not for use in container |
|
| Method Summary | |
|---|---|
String |
getConfiguratorClass()
|
String |
getLoggerClass()
|
Map |
getProperties()
|
void |
removeProperty(String name)
Removes property |
void |
setProperty(String name,
String value)
Updates or adds property |
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogConfigurationInitializer(InitParams params)
throws Exception
params - - initialization parameters, optionally included logger,
configurator and properties
Exception
public LogConfigurationInitializer(String logger,
String configurator,
Properties properties)
throws Exception
logger - configurator - properties -
Exception| Method Detail |
|---|
public String getLoggerClass()
public String getConfiguratorClass()
public Map getProperties()
public void setProperty(String name,
String value)
throws Exception
name - value -
Exception
public void removeProperty(String name)
throws Exception
name -
Exceptionpublic void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||