org.apache.activemq.transport
Class TransportLoggerControl

java.lang.Object
  extended by 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
TransportLoggerControl(ManagementContext managementContext)
          Constructor
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface TransportLoggerControlMBean

enableAllTransportLoggers

public void enableAllTransportLoggers()
Description copied from interface: TransportLoggerControlMBean
Enable logging for all Transport Loggers at once.

Specified by:
enableAllTransportLoggers in interface TransportLoggerControlMBean

reloadLog4jProperties

public void reloadLog4jProperties()
                           throws Throwable
Description copied from interface: TransportLoggerControlMBean
Reloads log4j.properties from the classpath

Specified by:
reloadLog4jProperties in interface TransportLoggerControlMBean
Throws:
Throwable


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.