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:
- EJBLocalHome
- Direct Known Subclasses:
- JRepEntityLocalHome
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
findLocalByPK
public JEntityLocal findLocalByPK(Object pk)
- Find the EJBLocalObject for this PK
- Parameters:
pk
- the primary key
- Returns:
- EntityLocal matching this PK
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
Copyright © 2007 OW2 Consortium. All Rights Reserved.