com.atomikos.icatch.admin.jmx
Class JmxLogAdministrator
java.lang.Object
com.atomikos.icatch.admin.jmx.JmxLogAdministrator
- All Implemented Interfaces:
- LogAdministrator
public class JmxLogAdministrator
- extends Object
- implements LogAdministrator
A JMX LogAdministrator, implemented as a Singleton. The instance can be
registered in the TSInitInfo for the JMX management to work. In addition,
you should register a in instance of the JmxTransactionService MBean in your
MBean server: that will make the administration functions available via JMX.
Instances of the JmxTransactionService will collaborate with this class to
perform the JMX administration of the pending transactions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxLogAdministrator
protected JmxLogAdministrator()
getInstance
public static JmxLogAdministrator getInstance()
registerLogControl
public void registerLogControl(LogControl control)
- Specified by:
registerLogControl in interface LogAdministrator
- See Also:
LogAdministrator.registerLogControl(com.atomikos.icatch.admin.LogControl)
getLogControl
public LogControl getLogControl()
- Gets the LogControl.
- Returns:
- LogControl, or null if unregistered.
deregisterLogControl
public void deregisterLogControl(LogControl control)
- Specified by:
deregisterLogControl in interface LogAdministrator
- See Also:
LogAdministrator.deregisterLogControl(com.atomikos.icatch.admin.LogControl)
Copyright © 2014. All Rights Reserved.