1 22 package org.jboss.injbossaop.ejb; 23 24 import java.rmi.RemoteException ; 25 26 import javax.ejb.CreateException ; 27 import javax.ejb.EJBException ; 28 import javax.ejb.SessionBean ; 29 import javax.ejb.SessionContext ; 30 31 import org.jboss.injbossaop.lib.ExampleValue; 32 33 38 public class ExampleSessionBean implements SessionBean { 39 40 public void ejbCreate() throws CreateException {} 41 42 public ExampleValue getValue(String s) 43 { 44 System.out.println("*** ExampleSessionBean.getValue()"); 45 return new ExampleValue(s); 46 } 47 48 49 public void setSessionContext(SessionContext ctx) throws EJBException {} 50 public void ejbRemove() throws EJBException , RemoteException {} 51 public void ejbActivate() throws EJBException , RemoteException {} 52 public void ejbPassivate() throws EJBException , RemoteException {} 53 54 } 55 | Popular Tags |