|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.common.LogManagement
public class LogManagement
| Field Summary | |
|---|---|
static java.lang.String |
SERVICE_NAME
|
| Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
|---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
| Constructor Summary | |
|---|---|
LogManagement()
|
|
| Method Summary | |
|---|---|
void |
addNotificationListener(javax.management.NotificationListener arg0,
javax.management.NotificationFilter arg1,
java.lang.Object arg2)
Super charge of the methode to take advantage of JMX notification offered by Monolog 2.0 |
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 |
static LogManagement |
getInstance()
|
java.util.Properties |
getProperties()
returns list of properties for logging system |
java.lang.String |
getTopicLevel(java.lang.String topic)
get Topic Level |
java.lang.String[] |
getTopics()
get Topics. |
void |
saveConfig()
|
void |
setTopicLevel(java.lang.String topic,
java.lang.String level)
set Topic Level |
| Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
|---|
getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
|---|
handleNotification, removeNotificationListener, sendNotification |
| 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 static LogManagement getInstance()
public java.lang.String[] getTopics()
getTopics in interface LogManagementMBeanpublic java.lang.String getTopicLevel(java.lang.String topic)
getTopicLevel in interface LogManagementMBean
public void setTopicLevel(java.lang.String topic,
java.lang.String level)
setTopicLevel in interface LogManagementMBeanpublic java.util.Properties getProperties()
getProperties in interface LogManagementMBeanpublic void saveConfig()
saveConfig in interface LogManagementMBeanpublic java.lang.String[] getHandlerNames()
getHandlerNames in interface LogManagementMBeanpublic java.util.Map getHandlerAttributes(java.lang.String handlername)
getHandlerAttributes in interface LogManagementMBean
public void addNotificationListener(javax.management.NotificationListener arg0,
javax.management.NotificationFilter arg1,
java.lang.Object arg2)
throws java.lang.IllegalArgumentException
addNotificationListener in interface javax.management.NotificationBroadcasteraddNotificationListener in class ReconfigDispatcherarg0 - The notification Listenerarg1 - The notification Filterarg2 - Handback object
java.lang.IllegalArgumentException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||