org.objectweb.jonas.common
Class LogManagement
java.lang.Object
|
+--org.objectweb.jonas.management.ReconfigDispatcher
|
+--org.objectweb.jonas.common.LogManagement
- All Implemented Interfaces:
- LogManagementMBean, javax.management.NotificationBroadcaster, ReconfigDispatcherMBean
- public class LogManagement
- extends ReconfigDispatcher
- implements LogManagementMBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
LogManagement
public LogManagement()
getInstance
public static LogManagement getInstance()
getTopics
public java.lang.String[] getTopics()
- get Topics.
Assumes that all Loggers are TopicalLoggers.
- Specified by:
getTopics
in interface LogManagementMBean
getTopicLevel
public java.lang.String getTopicLevel(java.lang.String topic)
- get Topic Level
- Specified by:
getTopicLevel
in interface LogManagementMBean
setTopicLevel
public void setTopicLevel(java.lang.String topic,
java.lang.String level)
- set Topic Level
- Specified by:
setTopicLevel
in interface LogManagementMBean
getProperties
public java.util.Properties getProperties()
- returns list of properties for logging system
- Specified by:
getProperties
in interface LogManagementMBean
saveConfig
public void saveConfig()
- Specified by:
saveConfig
in interface LogManagementMBean