org.ow2.jonas.lib.ejb21
Class JEntityLocalHome
java.lang.Object
org.ow2.jonas.lib.ejb21.JLocalHome
org.ow2.jonas.lib.ejb21.JEntityLocalHome
- All Implemented Interfaces:
- 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
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 © 2011 OW2 Consortium. All Rights Reserved.