org.multiverse.stms.alpha.instrumentation.transactionalmethod
Class TransactionLogicDonor

java.lang.Object
  extended by org.multiverse.stms.alpha.instrumentation.transactionalmethod.TransactionLogicDonor

public class TransactionLogicDonor
extends Object

The donor class that can be used while instrumenting atomic methods and adding the transaction management donorMethod.

It is important that if there are static methods used in this donor that they are public, so that they still can be used if the donor methods are transplanted.

Author:
Peter Veentjer.

Field Summary
static org.multiverse.api.TransactionFactory transactionFactory
           
 
Constructor Summary
TransactionLogicDonor()
           
 
Method Summary
static void donorConstructor()
           
static void donorMethod()
           
static void execute___ro()
           
static void execute___up()
           
static boolean isActiveTransaction(AlphaTransaction t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionFactory

public static org.multiverse.api.TransactionFactory transactionFactory
Constructor Detail

TransactionLogicDonor

public TransactionLogicDonor()
Method Detail

execute___ro

public static void execute___ro()

execute___up

public static void execute___up()

donorConstructor

public static void donorConstructor()
                             throws Exception
Throws:
Exception

donorMethod

public static void donorMethod()
                        throws Exception
Throws:
Exception

isActiveTransaction

public static boolean isActiveTransaction(AlphaTransaction t)


Copyright © 2008-2010 Multiverse. All Rights Reserved.