1 26 27 package org.objectweb.benchmark.ejb.latency; 28 29 import java.rmi.RemoteException ; 31 32 import javax.ejb.EJBException ; 33 import javax.ejb.SessionBean ; 34 import javax.ejb.SessionContext ; 35 36 43 public class PingSessionBean 44 implements SessionBean 45 { 46 47 private SessionContext ctx ; 48 49 54 public void 55 lping() 56 { 57 } 59 60 65 public void 66 ping() 67 throws RemoteException 68 { 69 } 71 72 75 public void setSessionContext(SessionContext ctx) 76 throws EJBException , RemoteException 77 { 78 this.ctx = ctx; 79 } 80 81 84 public void ejbRemove() 85 throws EJBException , RemoteException 86 { 87 } 88 89 92 public void ejbActivate() 93 throws EJBException , RemoteException 94 { 95 } 96 97 100 public void ejbPassivate() 101 throws EJBException , RemoteException 102 { 103 } 104 105 public void ejbCreate() { } 106 107 } 108 | Popular Tags |