1 22 package org.jboss.test.webservice.jbws165; 23 24 import java.rmi.RemoteException ; 25 26 import javax.ejb.EJBException ; 27 import javax.ejb.SessionBean ; 28 import javax.ejb.SessionContext ; 29 import javax.xml.rpc.ServiceException ; 30 import javax.xml.rpc.handler.soap.SOAPMessageContext ; 31 import javax.xml.rpc.server.ServiceLifecycle ; 32 import javax.xml.rpc.server.ServletEndpointContext ; 33 import javax.xml.soap.SOAPMessage ; 34 35 import org.jboss.logging.Logger; 36 37 public class HelloEJB implements SessionBean 38 { 39 private Logger log = Logger.getLogger(HelloEJB.class); 40 41 public String hello(String in0) 42 { 43 log.info("hello: " + in0); 44 return in0; 45 } 46 47 48 public void ejbCreate() throws EJBException , RemoteException 49 { 50 } 51 52 public void ejbRemove() throws EJBException , RemoteException 53 { 54 } 55 56 public void ejbActivate() throws EJBException , RemoteException 57 { 58 } 59 60 public void ejbPassivate() throws EJBException , RemoteException 61 { 62 } 63 64 65 public void setSessionContext(SessionContext ctx) throws EJBException , RemoteException 66 { 67 } 68 } 69 | Popular Tags |