1 25 26 28 package org.objectweb.jonas.jtests.beans.secured; 29 30 import javax.ejb.EJBContext ; 31 import javax.ejb.SessionBean ; 32 import javax.ejb.SessionContext ; 33 34 import org.objectweb.jonas.common.Log; 35 import org.objectweb.util.monolog.api.BasicLevel; 36 37 public class BaseSL extends BaseCommon implements SessionBean { 38 39 protected SessionContext ejbContext; 40 41 42 43 47 public void setSessionContext(SessionContext ctx) { 48 if( logger == null) 49 logger = Log.getLogger(Log.JONAS_TESTS_PREFIX); 50 logger.log(BasicLevel.DEBUG, ""); 51 ejbContext = ctx; 52 } 53 54 public void ejbRemove() { 55 logger.log(BasicLevel.DEBUG, ""); 56 } 57 58 public void ejbCreate() { 59 logger.log(BasicLevel.DEBUG, ""); 60 } 61 62 public void ejbPassivate() { 63 logger.log(BasicLevel.DEBUG, ""); 64 } 65 66 public void ejbActivate() { 67 logger.log(BasicLevel.DEBUG, ""); 68 } 69 70 74 public EJBContext getEJBContext(){ 75 return ejbContext; 76 } 77 78 79 } 80 | Popular Tags |