1 17 package org.apache.geronimo.itests.naming.ejb.stateless; 18 19 import javax.ejb.EJBException ; 20 import javax.ejb.SessionBean ; 21 import javax.ejb.SessionContext ; 22 23 import org.apache.notgeronimo.itests.naming.common.Test; 24 25 28 public class StatelessBean implements SessionBean { 29 30 public void testWebService() { 31 Test test = new Test(); 32 try { 33 test.testWebServiceLookup(); 34 } catch (Exception e) { 35 throw new EJBException (e); 36 } 37 38 } 39 40 public void ejbCreate() { 41 42 } 43 44 public void ejbActivate() { 45 46 } 47 48 public void ejbPassivate() { 49 50 } 51 52 public void ejbRemove() { 53 54 } 55 56 public void setSessionContext(SessionContext ctx) { 57 58 } 59 } 60 | Popular Tags |