|
||||||||||
| 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 java.lang.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 | |
|---|---|
java.lang.String |
getConfigFile()
|
java.util.Map |
getHandlerAttributes(java.lang.String handlername)
Getter for the map of the attributes of a handler. |
java.lang.String[] |
getHandlerNames()
Returns the names of the Monolog handlers |
java.util.Properties |
getProperties()
|
java.util.Properties |
getProps()
|
java.lang.String |
getTopicLevel(java.lang.String topic)
Return a topic's level |
java.lang.String[] |
getTopics()
|
void |
saveConfig()
Save updated configuration. |
void |
setConfigFile(java.lang.String configFile)
|
void |
setProps(java.util.Properties props)
|
void |
setTopicLevel(java.lang.String topic,
java.lang.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 java.lang.String SERVICE_NAME
| Constructor Detail |
|---|
public LogManagement()
| Method Detail |
|---|
public java.lang.String[] getTopics()
public java.lang.String getTopicLevel(java.lang.String topic)
topic - the topic we need ti know its level
public void setTopicLevel(java.lang.String topic,
java.lang.String level)
topic - topic to setlevel - the level to setpublic java.util.Properties getProperties()
public void saveConfig()
public java.lang.String[] getHandlerNames()
public java.util.Map getHandlerAttributes(java.lang.String handlername)
handlername - the handler name
public java.util.Properties getProps()
public void setProps(java.util.Properties props)
props - Configuration propertiespublic java.lang.String getConfigFile()
public void setConfigFile(java.lang.String configFile)
configFile - Configuration file name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||