com.scooterframework.transaction
Interface TransactionStarterType

All Known Implementing Classes:
ThreadLocalTransactionManager

public interface TransactionStarterType

TransactionStarterType interface specified methods about transaction starter.


Field Summary
static java.lang.String TRANSACTION_STARTER_IMPLICIT
          value for automatically started transaction.
 
Method Summary
 java.lang.String getTransactionStarterType()
          Set a type of transaction starter.
 boolean isAutoTransaction()
          Return true if the transaction is started automatically, false if the transaction is started by client calls beginTransaciton() or beginTransaciton(type) explicitly.
 void setTransactionStarterType(java.lang.String type)
          Set a type of transaction starter.
 

Field Detail

TRANSACTION_STARTER_IMPLICIT

static final java.lang.String TRANSACTION_STARTER_IMPLICIT
value for automatically started transaction.

See Also:
Constant Field Values
Method Detail

isAutoTransaction

boolean isAutoTransaction()
Return true if the transaction is started automatically, false if the transaction is started by client calls beginTransaciton() or beginTransaciton(type) explicitly.

Returns:
true if auto started transaction.

getTransactionStarterType

java.lang.String getTransactionStarterType()
Set a type of transaction starter.


setTransactionStarterType

void setTransactionStarterType(java.lang.String type)
Set a type of transaction starter.