org.ow2.jonas.lib.jmbeans
Class LogManager
java.lang.Object
org.ow2.jonas.lib.management.javaee.ManagedObject
org.ow2.jonas.lib.management.javaee.J2EEManagedObject
org.ow2.jonas.lib.jmbeans.LogManager
public class LogManager
- extends J2EEManagedObject
LogManager defined as a J2EEManagedObject sub-class in order to
use JMX notification support.
- Author:
- Adriana.Danes@bull.net
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogManager
public LogManager(String objectName)
- Constructor.
- Parameters:
objectName
- The MBean's OBJECT_NAME
getTopics
public String[] getTopics()
- Get the topics list. Assumes that all Loggers are TopicalLoggers.
- Returns:
- the topics list.
getTopicLevel
public String getTopicLevel(String topic)
- Return a topic's level.
- Parameters:
topic
- the topic we need to know its level
- Returns:
- the topic's level
setTopicLevel
public void setTopicLevel(String topic,
String level)
- set Topic Level
- Parameters:
topic
- topic to setlevel
- the level to set
saveConfig
public void saveConfig()
- Save updated configuration.
getProps
public Properties getProps()
- Returns:
- Configuration properties
setProps
public void setProps(Properties props)
- Parameters:
props
- Configuration properties
getConfigFile
public String getConfigFile()
- Returns:
- Configuration file name
setConfigFile
public void setConfigFile(String configFile)
- Parameters:
configFile
- Configuration file name
Copyright © 2010 OW2 Consortium. All Rights Reserved.