1 25 26 package org.objectweb.jonas_ejb.container; 27 28 import javax.ejb.EJBException ; 29 import javax.ejb.RemoveException ; 30 31 import org.objectweb.jonas_ejb.deployment.api.SessionDesc; 32 33 import org.objectweb.util.monolog.api.BasicLevel; 34 35 41 public abstract class JSessionLocalHome extends JLocalHome { 42 43 48 public JSessionLocalHome(SessionDesc dd, JSessionFactory bf) { 49 super(dd, bf); 50 if (TraceEjb.isDebugIc()) { 51 TraceEjb.interp.log(BasicLevel.DEBUG, ""); 52 } 53 } 54 55 60 65 public void remove(java.lang.Object pk) throws EJBException , RemoveException { 66 throw new RemoveException ("remove by PK Cannot be called in a session bean"); 67 } 68 69 73 78 abstract public JSessionLocal createLocalObject(); 79 80 } | Popular Tags |