com.googlecode.jpattern.service.transaction
Class ATransactionDefinition

java.lang.Object
  extended by com.googlecode.jpattern.service.transaction.ATransactionDefinition
Direct Known Subclasses:
DefaultTransactionDefinition, NullTransactionDefinition, TransactionDefinition

public abstract class ATransactionDefinition
extends Object

Author:
Francesco Cina' 22 Apr 2011

Field Summary
protected  ATransactionManager transactionManager
           
 
Constructor Summary
ATransactionDefinition()
           
 
Method Summary
protected  ATransactionManager getTransactionManager()
           
 String getTransactionManagerName()
           
 boolean isForceNewTransaction()
           
 boolean isForceReadOnly()
           
 boolean isNewTransaction()
           
 void setForceNewTransaction(boolean forceNewTransaction)
           
 void setForceReadOnly(boolean forceReadOnly)
           
protected  void setNewTransaction(boolean newTransaction)
           
protected  void setTransactionManager(ATransactionManager transactionManager)
           
protected abstract  void setTransactionManagerFromService(ITransactionService transactionService)
           
protected  void setTransactionManagerName(String transactionManagerName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transactionManager

protected ATransactionManager transactionManager
Constructor Detail

ATransactionDefinition

public ATransactionDefinition()
Method Detail

isForceNewTransaction

public final boolean isForceNewTransaction()

setForceNewTransaction

public final void setForceNewTransaction(boolean forceNewTransaction)

setTransactionManager

protected void setTransactionManager(ATransactionManager transactionManager)

setTransactionManagerFromService

protected abstract void setTransactionManagerFromService(ITransactionService transactionService)

getTransactionManagerName

public final String getTransactionManagerName()

setTransactionManagerName

protected final void setTransactionManagerName(String transactionManagerName)

isForceReadOnly

public final boolean isForceReadOnly()

getTransactionManager

protected final ATransactionManager getTransactionManager()

setForceReadOnly

public final void setForceReadOnly(boolean forceReadOnly)

setNewTransaction

protected void setNewTransaction(boolean newTransaction)

isNewTransaction

public boolean isNewTransaction()


Copyright © 2011. All Rights Reserved.