| java.lang.Object de.danet.an.wfdemo.testejb.TestEJB
TestEJB | public class TestEJB implements SessionBean(Code) | | This class provides an EJB for tests.
author: Michael Lipp author: Dirk Schnelle |
add | public long add(long num1, long num2)(Code) | | Simple test method to add two numbers.
|
ejbCreate | public void ejbCreate() throws CreateException(Code) | | Create a new instance.
throws: CreateException - Throws if the EJB cannot be created. |
sayHello | public String sayHello(String name)(Code) | | Simple test method to say hello to the given name.
|
setSessionContext | public void setSessionContext(SessionContext ctx) throws EJBException, RemoteException(Code) | | |
sqrt | public double sqrt(double value)(Code) | | Simple test method to calculate the square root of a number.
|
toString | public String toString(boolean value)(Code) | | Simple test method to convert a boolean int a string
|
|
|