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 java.lang.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(java.lang.String name,
int value)
throws java.sql.SQLException
- Specified by:
insertRow
in interface TestBean
- Throws:
java.sql.SQLException
insertRow
public void insertRow(java.lang.String name,
int value,
java.lang.Exception e)
throws java.sql.SQLException
- Specified by:
insertRow
in interface TestBean
- Throws:
java.sql.SQLException
insertRow
public void insertRow(java.lang.String name,
int value,
boolean delegate)
throws java.sql.SQLException
- Specified by:
insertRow
in interface TestBean
- Throws:
java.sql.SQLException
countRows
public int countRows()
throws java.sql.SQLException
- Specified by:
countRows
in interface TestBean
- Throws:
java.sql.SQLException
throwApplicationException
public void throwApplicationException()
throws java.sql.SQLException
- Specified by:
throwApplicationException
in interface TestBean
- Throws:
java.sql.SQLException
throwRuntimeException
public void throwRuntimeException()
- Specified by:
throwRuntimeException
in interface TestBean
setEnlistingDataSource
public void setEnlistingDataSource(javax.sql.DataSource xads)
setDataSource
public void setDataSource(javax.sql.DataSource ds)
setUser
public void setUser(java.lang.String user)
setPassword
public void setPassword(java.lang.String password)
setTestBean
public void setTestBean(TestBean bean)
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.