org.apache.aries.transaction.test.impl
Class TestBeanImpl
java.lang.Object
org.apache.aries.transaction.test.impl.TestBeanImpl
- All Implemented Interfaces:
- TestBean
public class TestBeanImpl
- extends Object
- implements TestBean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestBeanImpl
public TestBeanImpl()
initialize
public void initialize()
insertRow
public void insertRow(String name,
int value)
throws SQLException
- Specified by:
insertRow in interface TestBean
- Throws:
SQLException
insertRow
public void insertRow(String name,
int value,
Exception e)
throws SQLException
- Specified by:
insertRow in interface TestBean
- Throws:
SQLException
insertRow
public void insertRow(String name,
int value,
boolean delegate)
throws SQLException
- Specified by:
insertRow in interface TestBean
- Throws:
SQLException
countRows
public int countRows()
throws SQLException
- Specified by:
countRows in interface TestBean
- Throws:
SQLException
throwApplicationException
public void throwApplicationException()
throws SQLException
- Specified by:
throwApplicationException in interface TestBean
- Throws:
SQLException
throwRuntimeException
public void throwRuntimeException()
- Specified by:
throwRuntimeException in interface TestBean
setEnlistingDataSource
public void setEnlistingDataSource(DataSource xads)
setDataSource
public void setDataSource(DataSource ds)
setUser
public void setUser(String user)
setPassword
public void setPassword(String password)
setTestBean
public void setTestBean(TestBean bean)
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.