net.sf.colle.mid.ejb.test.colle_gen
Class TestBean

java.lang.Object
  extended bynet.sf.colle.mid.ejb.ServerBean
      extended bynet.sf.colle.mid.ejb.test.colle_gen.TestBean
All Implemented Interfaces:
EnterpriseBean, Serializable, SessionBean

public class TestBean
extends net.sf.colle.mid.ejb.ServerBean

Generated EJB session bean for Test. DO NOT EDIT. Make changes to net/sf/colle/mid/ejb/BeanCodeGenerator.gen and regenerate. Created: 17 Apr 2001

Version:
$Revision: 1.5 $, $Date: 2004/12/17 06:51:00 $
Author:
net/sf/colle/mid/ejb/BeanCodeGenerator.gen
See Also:
Serialized Form

Constructor Summary
TestBean()
           
 
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 net.sf.colle.mid.ejb.ServerBean
ejbActivate, ejbCreate, ejbPassivate, ejbRemove, rollback, setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBean

public TestBean()
Method Detail

hello

public String hello(String psName)
Returns greeting.

Parameters:
psName - Thing who greeting will be directed to.

throwException

public void throwException()
                    throws CloneNotSupportedException
Throws an exception, causes transaction to be rolled back.

Throws:
CloneNotSupportedException

insert

public void insert(int pnId,
                   boolean pbThrowException,
                   boolean pbThrowError)
            throws CloneNotSupportedException
Inserts value into test table then optionally throws an exception to test rollback exception handling.

Throws:
CloneNotSupportedException

idExists

public boolean idExists(int pnId)
Checks if call to insert was rolled back.


delete

public void delete(int pnId)
Deletes test values.