org.apache.aries.transaction.test
Interface TestBean

All Known Implementing Classes:
TestBeanImpl

public interface TestBean

This interface is used by the transactions integration tests


Method Summary
 int countRows()
           
 void insertRow(java.lang.String name, int value)
           
 void insertRow(java.lang.String name, int value, boolean delegate)
           
 void insertRow(java.lang.String name, int value, java.lang.Exception e)
           
 void throwApplicationException()
           
 void throwRuntimeException()
           
 

Method Detail

insertRow

void insertRow(java.lang.String name,
               int value)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

insertRow

void insertRow(java.lang.String name,
               int value,
               boolean delegate)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

insertRow

void insertRow(java.lang.String name,
               int value,
               java.lang.Exception e)
               throws java.sql.SQLException
Throws:
java.sql.SQLException

countRows

int countRows()
              throws java.sql.SQLException
Throws:
java.sql.SQLException

throwApplicationException

void throwApplicationException()
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

throwRuntimeException

void throwRuntimeException()


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.