com.atomikos.icatch.admin.imp
Class SimpleLogAdministrator
java.lang.Object
com.atomikos.icatch.admin.imp.SimpleLogAdministrator
- All Implemented Interfaces:
- LogAdministrator
public class SimpleLogAdministrator
- extends Object
- implements LogAdministrator
A simple log administrator that can be used for different UI technologies.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleLogAdministrator
protected SimpleLogAdministrator()
getInstance
public static SimpleLogAdministrator getInstance()
registerLogControl
public void registerLogControl(LogControl ctrl)
- Description copied from interface:
LogAdministrator
- Register (add) a LogControl instance to the administrator.
This method is typically called right after initialization of the
transaction service.
- Specified by:
registerLogControl
in interface LogAdministrator
- Parameters:
ctrl
- The LogControl instance.
deregisterLogControl
public void deregisterLogControl(LogControl ctrl)
- Description copied from interface:
LogAdministrator
- Deregister (remove) a LogControl instance from the
administrator.
This method is typically called at shutdown of the transaction
service.
- Specified by:
deregisterLogControl
in interface LogAdministrator
- Parameters:
ctrl
- The LogControl instance to remove. Does nothing
if the control is not registered.
getLogControl
public LogControl getLogControl()
Copyright © 2011. All Rights Reserved.