1 5 package com.nightlabs.ipanema.store; 6 7 import java.rmi.RemoteException ; 8 9 import javax.ejb.CreateException ; 10 import javax.ejb.EJBException ; 11 import javax.ejb.SessionBean ; 12 import javax.ejb.SessionContext ; 13 14 import org.apache.log4j.Logger; 15 16 import com.nightlabs.ipanema.base.BaseSessionBeanImpl; 17 18 26 public abstract class StoreManagerBean 27 extends BaseSessionBeanImpl 28 implements SessionBean 29 { 30 public static final Logger LOGGER = Logger.getLogger(StoreManagerBean.class); 31 32 34 38 public void ejbCreate() 39 throws CreateException 40 { 41 try 42 { 43 LOGGER.debug("StoreManagerBean created by " + this.getPrincipalString()); 44 } 45 catch (Exception e) 46 { 47 throw new CreateException (e.getMessage()); 48 } 49 } 50 51 public void setSessionContext(SessionContext sessionContext) 52 throws EJBException , RemoteException 53 { 54 super.setSessionContext(sessionContext); 55 } 56 public void unsetSessionContext() 57 { 58 super.unsetSessionContext(); 59 } 60 61 312 } | Popular Tags |