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 void
disableAllTransportLoggers()
Disable logging for all Transport Loggers at once.void
enableAllTransportLoggers()
Enable logging for all Transport Loggers at once.void
reloadLog4jProperties()
Reloads log4j.properties from the classpath
-
-
-
Constructor Detail
-
TransportLoggerControl
public TransportLoggerControl(ManagementContext managementContext)
Constructor
-
-
Method Detail
-
disableAllTransportLoggers
public void disableAllTransportLoggers()
Description copied from interface:TransportLoggerControlMBean
Disable logging for all Transport Loggers at once.- Specified by:
disableAllTransportLoggers
in interfaceTransportLoggerControlMBean
-
enableAllTransportLoggers
public void enableAllTransportLoggers()
Description copied from interface:TransportLoggerControlMBean
Enable logging for all Transport Loggers at once.- Specified by:
enableAllTransportLoggers
in interfaceTransportLoggerControlMBean
-
reloadLog4jProperties
public void reloadLog4jProperties() throws Throwable
Description copied from interface:TransportLoggerControlMBean
Reloads log4j.properties from the classpath- Specified by:
reloadLog4jProperties
in interfaceTransportLoggerControlMBean
- Throws:
Throwable
-
-