All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atomikos.icatch.SubTxAwareParticipant Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
/**
 * Copyright (C) 2000-2023 Atomikos 
 *
 * LICENSE CONDITIONS
 *
 * See http://www.atomikos.com/Main/WhichLicenseApplies for details.
 */

package com.atomikos.icatch;


/**
 * A participant that wants to be notified of local termination of a node in a 
 * nested transaction tree. 
 */

public interface SubTxAwareParticipant
{
    /**
     * Notification of termination.
     *
     * @param transaction The composite transaction that has terminated
     * locally at its node.
     */

     void committed ( CompositeTransaction transaction );
    
    /**
     * Notification that some transaction has been rolledback.
     *
     * @param parent The transaction that has rolled back at its node.
     */

     void rolledback ( CompositeTransaction transaction );
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy