org.copperengine.spring
Class SpringTransaction

java.lang.Object
  extended by org.copperengine.spring.SpringTransaction

public abstract class SpringTransaction
extends java.lang.Object


Constructor Summary
SpringTransaction()
           
 
Method Summary
protected abstract  void execute(java.sql.Connection con)
           
 void run(org.springframework.transaction.PlatformTransactionManager transactionManager, javax.sql.DataSource dataSource, org.springframework.transaction.TransactionDefinition def)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringTransaction

public SpringTransaction()
Method Detail

execute

protected abstract void execute(java.sql.Connection con)
                         throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run(org.springframework.transaction.PlatformTransactionManager transactionManager,
                javax.sql.DataSource dataSource,
                org.springframework.transaction.TransactionDefinition def)
         throws java.lang.Exception
Throws:
java.lang.Exception