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(String name, int value)
           
 void insertRow(String name, int value, boolean delegate)
           
 void insertRow(String name, int value, Exception e)
           
 void throwApplicationException()
           
 void throwRuntimeException()
           
 

Method Detail

insertRow

void insertRow(String name,
               int value)
               throws SQLException
Throws:
SQLException

insertRow

void insertRow(String name,
               int value,
               boolean delegate)
               throws SQLException
Throws:
SQLException

insertRow

void insertRow(String name,
               int value,
               Exception e)
               throws SQLException
Throws:
SQLException

countRows

int countRows()
              throws SQLException
Throws:
SQLException

throwApplicationException

void throwApplicationException()
                               throws SQLException
Throws:
SQLException

throwRuntimeException

void throwRuntimeException()


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