| java.lang.Object org.objectweb.util.monolog.wrapper.remote.lib.MonologFactoryMBeanImpl
All known Subclasses: org.objectweb.util.monolog.wrapper.remote.lib.Logging,
MonologFactoryMBeanImpl | public class MonologFactoryMBeanImpl implements MonologFactoryMBean(Code) | | This class is a JMX MBean implementing the MonologFactoryMBean interface. It
permits to configure loggers, handlers and levels on a monolog factory
author: S.Chassande-Barrioz |
Method Summary | |
public void | addHandlerToLogger(String handlername, String loggerName) | public void | addTopicToLogger(String topic, String loggerName) | public int | compareTo(String levelname1, String levelname2) | public boolean | createHandler(String hn, String handlertype) | public boolean | defineLevel(String name, int value) | public boolean | defineLevel(String name, String value) | public Map | getAllHandlerAttributes() | public Map | getHandlerAttributes(String handlername) | public String[] | getHandlerNames() | public Level | getLevel(String name) | public Level | getLevel(int value) | public Level[] | getLevels() | public LoggerInfo | getLogger(String loggername) | public LoggerInfo | getLogger(String loggername, String resourceBundleName) | public LoggerInfo[] | getLoggers() | public Properties | getMonologProperties() | public String | getResourceBundleName() | public void | removeAllHandlersFromLogger(String loggerName) | public boolean | removeHandler(String handlername) | public void | removeHandlerFromLogger(String handlerName, String loggerName) | public void | removeLevel(String name) | public void | removeTopicFromLogger(String topic, String loggerName) | public void | setAdditivity(boolean a, String loggerName) | public void | setHandlerAttribute(String handlername, String attributeName, String value) | public void | setLoggerLevel(int level, String loggerName) | public void | setLoggerLevel(String levelName, String loggerName) | public void | setMonologProperties(Properties p) | public void | setResourceBundleName(String resourceBundleName) |
MonologFactoryMBeanImpl | public MonologFactoryMBeanImpl()(Code) | | Build a JMX MBean managing the default MonologFactory registered
as current int the Monolog class.
|
MonologFactoryMBeanImpl | public MonologFactoryMBeanImpl(MonologFactory mf)(Code) | | Build a JMX MBean for administrate the a MonologFactory.
Parameters: mf - is the monolog factory instance encapsulated into this MBean. |
addHandlerToLogger | public void addHandlerToLogger(String handlername, String loggerName)(Code) | | |
defineLevel | public boolean defineLevel(String name, int value)(Code) | | |
getAllHandlerAttributes | public Map getAllHandlerAttributes()(Code) | | |
getHandlerAttributes | public Map getHandlerAttributes(String handlername)(Code) | | |
getResourceBundleName | public String getResourceBundleName()(Code) | | |
removeAllHandlersFromLogger | public void removeAllHandlersFromLogger(String loggerName)(Code) | | |
removeHandler | public boolean removeHandler(String handlername)(Code) | | |
removeHandlerFromLogger | public void removeHandlerFromLogger(String handlerName, String loggerName)(Code) | | |
removeTopicFromLogger | public void removeTopicFromLogger(String topic, String loggerName)(Code) | | |
setAdditivity | public void setAdditivity(boolean a, String loggerName)(Code) | | |
setLoggerLevel | public void setLoggerLevel(int level, String loggerName)(Code) | | It assigns the level to a logger
Parameters: level - is the level to assign the logger Parameters: loggerName - is the name of logger which the level must be set. |
setLoggerLevel | public void setLoggerLevel(String levelName, String loggerName)(Code) | | It assigns the level to a logger
Parameters: level - is the level to assign the logger Parameters: loggerName - is the name of logger which the level must be set. |
setResourceBundleName | public void setResourceBundleName(String resourceBundleName)(Code) | | |
|
|