Package org.eclipse.jetty.util.log.jmx
Class LogMBean
- java.lang.Object
-
- org.eclipse.jetty.jmx.ObjectMBean
-
- org.eclipse.jetty.util.log.jmx.LogMBean
-
- All Implemented Interfaces:
javax.management.DynamicMBean
@ManagedObject("Jetty Logging") public class LogMBean extends ObjectMBean
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.jmx.ObjectMBean
_managed
-
-
Constructor Summary
Constructors Constructor Description LogMBean(java.lang.Object managedObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getLoggers()
boolean
isDebugEnabled(java.lang.String logger)
void
setDebugEnabled(java.lang.String logger, java.lang.Boolean enabled)
-
Methods inherited from class org.eclipse.jetty.jmx.ObjectMBean
getAttribute, getAttributes, getManagedObject, getMBeanContainer, getMBeanInfo, getObjectContextBasis, getObjectName, getObjectNameBasis, invoke, mbeanFor, setAttribute, setAttributes, setMBeanContainer
-
-
-
-
Method Detail
-
getLoggers
@ManagedAttribute("list of instantiated loggers") public java.util.List<java.lang.String> getLoggers()
-
isDebugEnabled
@ManagedOperation("true if debug enabled for the given logger") public boolean isDebugEnabled(@Name("logger") java.lang.String logger)
-
setDebugEnabled
@ManagedOperation("Set debug enabled for given logger") public void setDebugEnabled(@Name("logger") java.lang.String logger, @Name("enabled") java.lang.Boolean enabled)
-
-