db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject svn commit: r1237564 - in /db/jdo/trunk/api: src/java/javax/jdo/PersistenceManagerFactory.java test/java/javax/jdo/stub/StubPMF.java
Date Mon, 30 Jan 2012 08:11:19 GMT
Author: andyj
Date: Mon Jan 30 08:11:19 2012
New Revision: 1237564

URL: http://svn.apache.org/viewvc?rev=1237564&view=rev
Log:
JDO-667 Add getManagedClasses method as per JIRA, applying patch

Modified:
    db/jdo/trunk/api/src/java/javax/jdo/PersistenceManagerFactory.java
    db/jdo/trunk/api/test/java/javax/jdo/stub/StubPMF.java

Modified: db/jdo/trunk/api/src/java/javax/jdo/PersistenceManagerFactory.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/src/java/javax/jdo/PersistenceManagerFactory.java?rev=1237564&r1=1237563&r2=1237564&view=diff
==============================================================================
--- db/jdo/trunk/api/src/java/javax/jdo/PersistenceManagerFactory.java (original)
+++ db/jdo/trunk/api/src/java/javax/jdo/PersistenceManagerFactory.java Mon Jan 30 08:11:19
2012
@@ -777,4 +777,11 @@ public interface PersistenceManagerFacto
      * @since 3.0
      */
     TypeMetadata getMetadata(String className);
+
+    /**
+     * Method to return the currently managed classes for this factory.
+     * @return Collection of persistable classes that are managed by this factory
+     * @since 3.1
+     */
+    Collection<Class> getManagedClasses();
 }

Modified: db/jdo/trunk/api/test/java/javax/jdo/stub/StubPMF.java
URL: http://svn.apache.org/viewvc/db/jdo/trunk/api/test/java/javax/jdo/stub/StubPMF.java?rev=1237564&r1=1237563&r2=1237564&view=diff
==============================================================================
--- db/jdo/trunk/api/test/java/javax/jdo/stub/StubPMF.java (original)
+++ db/jdo/trunk/api/test/java/javax/jdo/stub/StubPMF.java Mon Jan 30 08:11:19 2012
@@ -550,4 +550,9 @@ public class StubPMF implements Persiste
 	}
 
     }
+
+	@Override
+	public Collection<Class> getManagedClasses() {
+		throw new UnsupportedOperationException("not implemented");
+	}
 }



Mime
View raw message