1 25 26 package org.objectweb.jonas.jtests.beans.beanexc; 27 28 import javax.ejb.SessionBean ; 29 import javax.ejb.SessionContext ; 30 import javax.ejb.EJBContext ; 31 import org.objectweb.jonas.common.Log; 32 import org.objectweb.util.monolog.api.BasicLevel; 33 34 38 public class AccountSL extends AccountCommon implements SessionBean { 39 protected SessionContext sessionContext = null; 40 41 public void ejbActivate() { 42 logger.log(BasicLevel.DEBUG, ""); 43 } 44 45 public void ejbPassivate() { 46 logger.log(BasicLevel.DEBUG, ""); 47 } 48 49 public void ejbRemove() { 50 logger.log(BasicLevel.DEBUG, ""); 51 } 52 53 public void setSessionContext(SessionContext t) { 54 if (logger == null) { 55 logger = Log.getLogger(Log.JONAS_TESTS_PREFIX); 56 } 57 logger.log(BasicLevel.DEBUG, ""); 58 sessionContext = t; 59 } 60 61 public void ejbCreate() { 62 logger.log(BasicLevel.DEBUG, ""); 63 } 64 65 public void setBalance(long val) { 66 logger.log(BasicLevel.DEBUG, ""); 67 } 68 69 public EJBContext getContext() { 70 logger.log(BasicLevel.DEBUG, ""); 71 return sessionContext; 72 } 73 74 public void doFailedEjbStore_1() { 75 logger.log(BasicLevel.DEBUG, ""); 76 } 77 78 public void doFailedEjbStore_2() { 79 logger.log(BasicLevel.DEBUG, ""); 80 } 81 82 public void doFailedEjbStore_3() { 83 logger.log(BasicLevel.DEBUG, ""); 84 } 85 } 86 | Popular Tags |