org.jboss.messaging.core.impl
Class JDBCSupport.JDBCTxRunner<T>

java.lang.Object
  extended by org.jboss.messaging.core.impl.JDBCSupport.JDBCTxRunner<T>
Enclosing class:
JDBCSupport

protected abstract class JDBCSupport.JDBCTxRunner<T>
extends java.lang.Object


Field Summary
protected  java.sql.Connection conn
           
 
Constructor Summary
protected JDBCSupport.JDBCTxRunner()
           
 
Method Summary
abstract  T doTransaction()
           
 T execute()
           
 T executeWithRetry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

protected java.sql.Connection conn
Constructor Detail

JDBCSupport.JDBCTxRunner

protected JDBCSupport.JDBCTxRunner()
Method Detail

execute

public T execute()
          throws java.lang.Exception
Throws:
java.lang.Exception

executeWithRetry

public T executeWithRetry()
                   throws java.lang.Exception
Throws:
java.lang.Exception

doTransaction

public abstract T doTransaction()
                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.