1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.openejb.test.simple.slsb;
21
22 import javax.ejb.EJBException;
23 import javax.ejb.SessionBean;
24 import javax.ejb.SessionContext;
25
26 /**
27 *
28 *
29 * @version $Rev: 439078 $ $Date: 2006-08-31 15:46:14 -0700 (Thu, 31 Aug 2006) $
30 */
31 public class SimpleStatelessSessionEJB implements SessionBean {
32 public SimpleStatelessSessionEJB() {
33 }
34
35 public String echo(String message) {
36 return message;
37 }
38
39 public void ejbCreate() throws javax.ejb.CreateException {
40 }
41
42 public void ejbActivate() throws EJBException {
43 }
44
45 public void ejbPassivate() throws EJBException {
46 }
47
48 public void ejbRemove() throws EJBException {
49 }
50
51 public void setSessionContext(SessionContext ctx) throws EJBException {
52 }
53 }