User: dsundstrom
Date: 01/06/23 20:02:37
Added: src/main/org/jboss/ejb EntityPersistenceStore2.java
Log:
Extension to entity persistence store which handles bean instance creation
and initialzation. This extension is necessary to implement CMP 2.x
abstract accessor CMP fields. These extensions should be merged back into
EntityPersistenceStore when all persistence stores are updated.
Revision Changes Path
1.1 jboss/src/main/org/jboss/ejb/EntityPersistenceStore2.java
Index: EntityPersistenceStore2.java
===================================================================
/*
* JBoss, the OpenSource EJB server
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.ejb;
import java.rmi.RemoteException;
public interface EntityPersistenceStore2 extends EntityPersistenceStore {
/**
* Returns a new instance of the bean class or a subclass of the bean class.
*
* @return the new instance
*/
public Object createBeanClassInstance() throws Exception;
/**
* Initializes the instance context.
* This method is called before createEntity, and should
* reset the value of all cmpFields to 0 or null.
*/
public void initEntity(EntityEnterpriseContext ctx) throws RemoteException;
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development