User: dsundstrom
Date: 01/12/01 16:05:44
Modified: src/main/org/jboss/ejb EntityPersistenceStore.java
Removed: src/main/org/jboss/ejb EntityPersistenceStore2.java
Log:
Moved createBeanInstance and initEntity back into the PersistenceStore.
Revision Changes Path
1.10 +22 -1 jboss/src/main/org/jboss/ejb/EntityPersistenceStore.java
Index: EntityPersistenceStore.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EntityPersistenceStore.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- EntityPersistenceStore.java 2001/11/28 11:35:19 1.9
+++ EntityPersistenceStore.java 2001/12/02 00:05:44 1.10
@@ -26,11 +26,32 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Rickard �berg</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Simone Bordet</a>
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public interface EntityPersistenceStore
extends ContainerPlugin
{
+ /**
+ * Returns a new instance of the bean class or a subclass of the bean class.
+ *
+ * @return the new instance
+ *
+ * @throws Exception
+ */
+ Object createBeanClassInstance() throws Exception;
+
+ /**
+ * Initializes the instance context.
+ *
+ * <p>This method is called before createEntity, and should
+ * reset the value of all cmpFields to 0 or null.
+ *
+ * @param ctx
+ *
+ * @throws RemoteException
+ */
+ void initEntity(EntityEnterpriseContext ctx);
+
/**
* This method is called whenever an entity is to be created.
* The persistence manager is responsible for handling the results properly
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development