org.objectweb.jonas_ejb.container
Class JEntityLocalHome
java.lang.Object
|
+--org.objectweb.jonas_ejb.container.JLocalHome
|
+--org.objectweb.jonas_ejb.container.JEntityLocalHome
- All Implemented Interfaces:
- javax.ejb.EJBLocalHome
- public abstract class JEntityLocalHome
- extends JLocalHome
This class is the Standard LocalHome for Entity objects
It exists only for beans that have declared a Local Interface.
It implements javax.ejb.EJBLocalHome interface
- Author:
- Philippe Durieux
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JEntityLocalHome
public JEntityLocalHome(EntityDesc dd,
JEntityFactory bf)
- constructor
- Parameters:
dd
- The Entity Deployment Decriptorbf
- The Entity Factory
preInvoke
public RequestCtx preInvoke(int txa,
java.lang.String secu)
- preInvoke is called before any request.
- Parameters:
txa
- Transaction Attribute (Supports, Required, ...)secu
- Security String that uniquely identifies the method.- Returns:
- A RequestCtx object
- Throws:
EJBException
-
postInvoke
public void postInvoke(RequestCtx rctx)
- postInvoke is called after any request.
- Parameters:
rctx
- The RequestCtx that was returned at preInvoke()
createLocalObject
public abstract JEntityLocal createLocalObject()
- Creates a new Local Object for that bean.
This is in the generated class because it is mainly "new objectClass()"
- Returns:
- The Local Object