|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.colle.mid.ejb.test.TestImpl
Implementation of the test bean. Created: 11 Mar 2003
Constructor Summary | |
TestImpl()
|
Method Summary | |
void |
delete(int pnId)
Deletes test values. |
String |
hello(String psName)
Returns greeting. |
boolean |
idExists(int pnId)
Checks if call to insert was rolled back. |
void |
insert(int pnId,
boolean pbThrowException,
boolean pbThrowError)
Inserts value into test table then optionally throws an exception to test rollback exception handling. |
void |
throwException()
Throws an exception, causes transaction to be rolled back. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestImpl()
Method Detail |
public String hello(String psName)
hello
in interface Test
psName
- Thing who greeting will be directed to.public void throwException() throws CloneNotSupportedException
throwException
in interface Test
CloneNotSupportedException
public void insert(int pnId, boolean pbThrowException, boolean pbThrowError) throws CloneNotSupportedException
insert
in interface Test
CloneNotSupportedException
public boolean idExists(int pnId)
idExists
in interface Test
public void delete(int pnId)
Test
delete
in interface Test
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |