org.objectweb.jonas_ejb.container
Class JSessionLocalHome
java.lang.Object
|
+--org.objectweb.jonas_ejb.container.JLocalHome
|
+--org.objectweb.jonas_ejb.container.JSessionLocalHome
- All Implemented Interfaces:
- javax.ejb.EJBLocalHome
- public abstract class JSessionLocalHome
- extends JLocalHome
This class is the Standard LocalHome for Session objects
It exists only for beans that have declared a Local Interface.
It implements javax.ejb.EJBLocalHome interface
It implements a pool of EJBLocalObject's
- Author:
- Philippe Durieux
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSessionLocalHome
public JSessionLocalHome(SessionDesc dd,
JSessionFactory bf)
- constructor
- Parameters:
dd
- The Session Deployment Decriptorbf
- The Session Factory
remove
public void remove(java.lang.Object pk)
throws javax.ejb.EJBException,
javax.ejb.RemoveException
- remove(pk) is not allowed for session beans
- Overrides:
remove
in class JLocalHome
- Parameters:
pk
- the primary key- Throws:
javax.ejb.RemoveException
- Always.
preInvoke
public RequestCtx preInvoke(int txa,
java.lang.String secu)
postInvoke
public void postInvoke(RequestCtx rctx)
createLocalObject
public abstract JSessionLocal createLocalObject()
- Creates the EJBLocalObject
This is in the generated class because it is mainly "new objectClass()"
- Returns:
- The Local Object