1 28 29 package com.caucho.ejb; 30 31 import javax.ejb.EJBException ; 32 import javax.ejb.SessionBean ; 33 import javax.ejb.SessionContext ; 34 35 abstract public class AbstractSessionBean implements SessionBean { 36 protected SessionContext sessionContext; 37 38 public void setSessionContext(SessionContext sessionContext) 39 throws EJBException 40 { 41 this.sessionContext = sessionContext; 42 } 43 44 public SessionContext getSessionContext() 45 { 46 return sessionContext; 47 } 48 49 public void ejbActivate() throws EJBException 50 { 51 } 52 53 public void ejbPassivate() throws EJBException 54 { 55 } 56 57 public void ejbRemove() throws EJBException 58 { 59 } 60 } 61 | Popular Tags |