com.atomikos.icatch
Interface TSListener


public interface TSListener

A listener interface for transaction service startup and shutdown events. Instances can register themselves in order to be notified about recovery and shutdown events.


Method Summary
 void init(boolean before, Properties properties)
          Called before and after initialization.
 void shutdown(boolean before)
          Called before and after shutdown.
 

Method Detail

init

void init(boolean before,
          Properties properties)
Called before and after initialization.

Parameters:
before - True indicates that initialization is about to start. False indicates that initialization has finished. This means that recovery has been done and the transaction service is now ready to start new transactions.
properties - The initialization properties.

shutdown

void shutdown(boolean before)
Called before and after shutdown.

Parameters:
before - True if shutdown is about to start. False if shutdown has finished.


Copyright © 2011. All Rights Reserved.