1 17 18 package org.sape.carbon.services.ejb.local.test; 19 20 21 import javax.ejb.CreateException ; 22 import javax.ejb.SessionBean ; 23 import javax.ejb.SessionContext ; 24 25 34 public class LocalTesterBean implements SessionBean { 35 36 39 protected SessionContext ctx; 40 41 public void ejbCreate() throws CreateException { 42 43 } 44 45 public void ejbActivate() { 46 47 } 48 49 public void ejbPassivate() { 50 51 } 52 53 public void ejbRemove() { 54 55 } 56 57 58 63 public SessionContext getSessionContext() { 64 return ctx; 65 } 66 67 68 74 public void setSessionContext(SessionContext ctx) { 75 this.ctx = ctx; 76 } 77 78 79 85 public String id() { 86 return (this.getClass().getName()); 87 } 88 } 89 | Popular Tags |