com.sun.xml.ws.tx.dev
Class WSATRuntimeConfig.WSATRecoveryEventListener

java.lang.Object
  extended by com.sun.xml.ws.tx.dev.WSATRuntimeConfig.WSATRecoveryEventListener
All Implemented Interfaces:
WSATRuntimeConfig.RecoveryEventListener
Enclosing class:
WSATRuntimeConfig

public class WSATRuntimeConfig.WSATRecoveryEventListener
extends Object
implements WSATRuntimeConfig.RecoveryEventListener


Constructor Summary
WSATRuntimeConfig.WSATRecoveryEventListener()
           
 
Method Summary
 void afterRecovery(boolean success, boolean delegated, String instance)
          Indicate to the listener that recovery is over.
 void beforeRecovery(boolean delegated, String instance)
          Indicate to the listener that recovery for a specific instance is about to start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSATRuntimeConfig.WSATRecoveryEventListener

public WSATRuntimeConfig.WSATRecoveryEventListener()
Method Detail

beforeRecovery

public void beforeRecovery(boolean delegated,
                           String instance)
Description copied from interface: WSATRuntimeConfig.RecoveryEventListener
Indicate to the listener that recovery for a specific instance is about to start.

Specified by:
beforeRecovery in interface WSATRuntimeConfig.RecoveryEventListener
Parameters:
delegated - identifies whether it is part of a delegated transaction recovery
instance - the instance name for which transaction recovery is performed, null if unknown

afterRecovery

public void afterRecovery(boolean success,
                          boolean delegated,
                          String instance)
Description copied from interface: WSATRuntimeConfig.RecoveryEventListener
Indicate to the listener that recovery is over.

Specified by:
afterRecovery in interface WSATRuntimeConfig.RecoveryEventListener
Parameters:
success - true if the recovery operation finished successfully
delegated - identifies whether it is part of a delegated transaction recovery
instance - the instance name for which transaction recovery is performed, null if unknown


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.