Package org.apache.activemq.transport
Class TransportLoggerControl
- java.lang.Object
-
- org.apache.activemq.transport.TransportLoggerControl
-
- All Implemented Interfaces:
TransportLoggerControlMBean
public class TransportLoggerControl extends Object implements TransportLoggerControlMBean
Implementation of the TransportLoggerControlMBean interface, which is an MBean used to control all TransportLoggers at once.- Author:
- David Martin Clavo david(dot)martin(dot)clavo(at)gmail.com
-
-
Constructor Summary
Constructors Constructor Description TransportLoggerControl(ManagementContext managementContext)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisableAllTransportLoggers()Disable logging for all Transport Loggers at once.voidenableAllTransportLoggers()Enable logging for all Transport Loggers at once.voidreloadLog4jProperties()Reloads log4j.properties from the classpath
-
-
-
Constructor Detail
-
TransportLoggerControl
public TransportLoggerControl(ManagementContext managementContext)
Constructor
-
-
Method Detail
-
disableAllTransportLoggers
public void disableAllTransportLoggers()
Description copied from interface:TransportLoggerControlMBeanDisable logging for all Transport Loggers at once.- Specified by:
disableAllTransportLoggersin interfaceTransportLoggerControlMBean
-
enableAllTransportLoggers
public void enableAllTransportLoggers()
Description copied from interface:TransportLoggerControlMBeanEnable logging for all Transport Loggers at once.- Specified by:
enableAllTransportLoggersin interfaceTransportLoggerControlMBean
-
reloadLog4jProperties
public void reloadLog4jProperties() throws ThrowableDescription copied from interface:TransportLoggerControlMBeanReloads log4j.properties from the classpath- Specified by:
reloadLog4jPropertiesin interfaceTransportLoggerControlMBean- Throws:
Throwable
-
-