com.atomikos.icatch.admin.jmx
Class JmxLogAdministrator

java.lang.Object
  extended by 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.


Constructor Summary
protected JmxLogAdministrator()
           
 
Method Summary
 void deregisterLogControl(LogControl control)
           
static JmxLogAdministrator getInstance()
           
 LogControl getLogControl()
          Gets the LogControl.
 void registerLogControl(LogControl control)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxLogAdministrator

protected JmxLogAdministrator()
Method Detail

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.