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

Fields inherited from class org.objectweb.jonas_ejb.container.JLocalHome
bf, dd, homeList
 
Constructor Summary
JSessionLocalHome(SessionDesc dd, JSessionFactory bf)
          constructor
 
Method Summary
abstract  JSessionLocal createLocalObject()
          Creates the EJBLocalObject This is in the generated class because it is mainly "new objectClass()"
 void postInvoke(RequestCtx rctx)
           
 RequestCtx preInvoke(int txa, java.lang.String secu)
           
 void remove(java.lang.Object pk)
          remove(pk) is not allowed for session beans
 
Methods inherited from class org.objectweb.jonas_ejb.container.JLocalHome
getLocalHome, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSessionLocalHome

public JSessionLocalHome(SessionDesc dd,
                         JSessionFactory bf)
constructor
Parameters:
dd - The Session Deployment Decriptor
bf - The Session Factory
Method Detail

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