|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.lib.management.javaee.ManagedObject
org.ow2.jonas.lib.jmbeans.log.LogManagement
public class LogManagement
MBean implementation for log management.
The managed resource is the monolog LoggerFactory.
| Field Summary | |
|---|---|
static String |
SERVICE_NAME
Name as used to label configuration properties. |
| Fields inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject |
|---|
logger |
| Constructor Summary | |
|---|---|
LogManagement()
|
|
| Method Summary | |
|---|---|
String |
getConfigFile()
|
Map |
getHandlerAttributes(String handlername)
Getter for the map of the attributes of a handler. |
String[] |
getHandlerNames()
Returns the names of the Monolog handlers |
Properties |
getProperties()
|
Properties |
getProps()
|
String |
getTopicLevel(String topic)
Return a topic's level |
String[] |
getTopics()
|
void |
saveConfig()
Save updated configuration. |
void |
setConfigFile(String configFile)
|
void |
setProps(Properties props)
|
void |
setTopicLevel(String topic,
String level)
set Topic Level |
| Methods inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject |
|---|
getModelMBean, sendNotification, sendReconfigNotification, sendSaveNotification, setModelMBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SERVICE_NAME
| Constructor Detail |
|---|
public LogManagement()
| Method Detail |
|---|
public String[] getTopics()
public String getTopicLevel(String topic)
topic - the topic we need ti know its level
public void setTopicLevel(String topic,
String level)
topic - topic to setlevel - the level to setpublic Properties getProperties()
public void saveConfig()
public String[] getHandlerNames()
public Map getHandlerAttributes(String handlername)
handlername - the handler name
public Properties getProps()
public void setProps(Properties props)
props - Configuration propertiespublic String getConfigFile()
public void setConfigFile(String configFile)
configFile - Configuration file name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||