[seam-commits] Seam SVN: r7685 - branches/Seam_2_0/src/main/org/jboss/seam/persistence.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Mar 25 07:08:19 EDT 2008


Author: pete.muir at jboss.org
Date: 2008-03-25 07:08:19 -0400 (Tue, 25 Mar 2008)
New Revision: 7685

Modified:
   branches/Seam_2_0/src/main/org/jboss/seam/persistence/PersistenceProvider.java
Log:
Maintain API compatibility

Modified: branches/Seam_2_0/src/main/org/jboss/seam/persistence/PersistenceProvider.java
===================================================================
--- branches/Seam_2_0/src/main/org/jboss/seam/persistence/PersistenceProvider.java	2008-03-25 11:07:21 UTC (rev 7684)
+++ branches/Seam_2_0/src/main/org/jboss/seam/persistence/PersistenceProvider.java	2008-03-25 11:08:19 UTC (rev 7685)
@@ -171,4 +171,30 @@
       return Entity.forClass(beanClass).getPreRemoveMethod();
    }
    
+   @Deprecated
+   public Method getPreRemoveMethod(Class beanClass)
+   {
+      return Entity.forClass(beanClass).getPreRemoveMethod();
+   }
+   
+   @Deprecated
+   public Method getPostLoadMethod(Class beanClass)
+   {
+      return Entity.forClass(beanClass).getPostLoadMethod();      
+   }
+   
+   @Deprecated
+   public Method getPrePersistMethod(Class beanClass)
+   {
+      return Entity.forClass(beanClass).getPrePersistMethod();
+   }
+   
+   @Deprecated
+   public Method getPreUpdateMethod(Class beanClass)
+   {
+      return Entity.forClass(beanClass).getPreUpdateMethod();
+   }
+   
+
+   
 }




More information about the seam-commits mailing list