org.objectweb.transaction.api.transaction
Interface TransactionActivationFeature

All Superinterfaces:
Feature

public interface TransactionActivationFeature
extends Feature

Defines the operation allowed when activating transactions.

Version:
0.1
Author:
Romain Rouvoy
ADL:
name="TX_ACTIVATION_FEATURE" value="tx-activation-feature"

Field Summary
static java.lang.String TX_ACTIVATION_FEATURE
          Identifier for the ADL
 
Fields inherited from interface org.objectweb.transaction.api.Feature
FEATURE
 
Method Summary
 void begin()
          Starts a new transaction process
 void commit()
          Stops the current transaction process and applies the changes
 void rollback()
          Stops the current transaction process and forgets the changes
 

Field Detail

TX_ACTIVATION_FEATURE

public static final java.lang.String TX_ACTIVATION_FEATURE
Identifier for the ADL

See Also:
Constant Field Values
Method Detail

begin

public void begin()
Starts a new transaction process


commit

public void commit()
Stops the current transaction process and applies the changes


rollback

public void rollback()
Stops the current transaction process and forgets the changes