Module org.glassfish.metro.wsit.api
Package com.sun.xml.ws.tx.dev
Class WSATRuntimeConfig.WSATRecoveryEventListener
- java.lang.Object
-
- 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
Constructors Constructor Description WSATRecoveryEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterRecovery(boolean success, boolean delegated, String instance)Indicate to the listener that recovery is over.voidbeforeRecovery(boolean delegated, String instance)Indicate to the listener that recovery for a specific instance is about to start.
-
-
-
Method Detail
-
beforeRecovery
public void beforeRecovery(boolean delegated, String instance)Description copied from interface:WSATRuntimeConfig.RecoveryEventListenerIndicate to the listener that recovery for a specific instance is about to start.- Specified by:
beforeRecoveryin interfaceWSATRuntimeConfig.RecoveryEventListener- Parameters:
delegated- identifies whether it is part of a delegated transaction recoveryinstance- 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.RecoveryEventListenerIndicate to the listener that recovery is over.- Specified by:
afterRecoveryin interfaceWSATRuntimeConfig.RecoveryEventListener- Parameters:
success-trueif the recovery operation finished successfullydelegated- identifies whether it is part of a delegated transaction recoveryinstance- the instance name for which transaction recovery is performed, null if unknown
-
-