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 -
Method Summary
Modifier and TypeMethodDescriptionvoidafterRecovery(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.
-
Constructor Details
-
WSATRecoveryEventListener
public WSATRecoveryEventListener()Default constructor.
-
-
Method Details
-
beforeRecovery
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
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
-