1 22 package org.jboss.test.bench.ejb; 23 24 import java.rmi.*; 25 import javax.ejb.*; 26 27 public class MySessionBean implements SessionBean { 28 private SessionContext sessionContext; 29 30 public void ejbCreate() throws RemoteException, CreateException { 31 } 32 33 public void ejbActivate() throws RemoteException { 34 } 35 36 public void ejbPassivate() throws RemoteException { 37 } 38 39 public void ejbRemove() throws RemoteException { 40 } 41 42 public int getInt() { 43 return 4; 44 } 45 46 public void setSessionContext(SessionContext context) throws RemoteException { 47 sessionContext = context; 48 } 49 } 50 | Popular Tags |