geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r796379 - in /geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence: ./ criteria/ spi/
Date Tue, 21 Jul 2009 16:54:28 GMT
Author: dwoods
Date: Tue Jul 21 16:54:27 2009
New Revision: 796379

URL: http://svn.apache.org/viewvc?rev=796379&view=rev
Log:
GERONIMO-4410 formatting only updates

Modified:
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/EntityManager.java
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/criteria/From.java
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/ClassTransformer.java
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolver.java
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitInfo.java
    geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitTransactionType.java

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/EntityManager.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/EntityManager.java?rev=796379&r1=796378&r2=796379&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/EntityManager.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/EntityManager.java
Tue Jul 21 16:54:27 2009
@@ -86,10 +86,10 @@
 
 	public Query createQuery(String qlString);
 
-	public <T> TypedQuery<T> createQuery(String qlString, Class<T> resultClass);
-
 	public <T> TypedQuery<T> createQuery(CriteriaQuery<T> criteriaQuery);

 
+	public <T> TypedQuery<T> createQuery(String qlString, Class<T> resultClass);
+
 	public Query createNamedQuery(String name);
 
 	public <T> TypedQuery<T> createNamedQuery(String name, Class<T> resultClass);

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/criteria/From.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/criteria/From.java?rev=796379&r1=796378&r2=796379&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/criteria/From.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/criteria/From.java
Tue Jul 21 16:54:27 2009
@@ -63,12 +63,9 @@
     <X, Y> SetJoin<X, Y> joinSet(String attributeName);	
 
     <X, Y> ListJoin<X, Y> joinList(String attributeName);		
-
     <X, K, V> MapJoin<X, K, V> joinMap(String attributeName);	
 
-
     <X, Y> Join<X, Y> join(String attributeName, JoinType jt);	
-
     <X, Y> CollectionJoin<X, Y> joinCollection(String attributeName, JoinType
jt);	
 
     <X, Y> SetJoin<X, Y> joinSet(String attributeName, JoinType jt);	

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/ClassTransformer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/ClassTransformer.java?rev=796379&r1=796378&r2=796379&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/ClassTransformer.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/ClassTransformer.java
Tue Jul 21 16:54:27 2009
@@ -20,44 +20,21 @@
 //
 // This source code implements specifications defined by the Java
 // Community Process. In order to remain compliant with the specification
-// DO NOT add/change/or delete method signatures!
+// DO NOT add / change / or delete method signatures!
 //
 
 package javax.persistence.spi;
 
-import java.lang.instrument.IllegalClassFormatException;
 import java.security.ProtectionDomain;
+import java.lang.instrument.IllegalClassFormatException;
+
 
-/**
- * @version $Rev$ $Date$
- */
 public interface ClassTransformer {
-    /**
-     * Invoked when a class is being loaded or redefined. The implementation of this
-     * method may transform the supplied class file and return a new replacement class
-     * file.
-     *
-     * @param loader              The defining loader of the class to be transformed, may
be null if
-     *                            the bootstrap loader
-     * @param className           The name of the class in the internal form of fully qualified
-     *                            class and interface names
-     * @param classBeingRedefined If this is a redefine, the class being redefined,
-     *                            otherwise null
-     * @param protectionDomain    The protection domain of the class being defined or
-     *                            redefined
-     * @param classfileBuffer     The input byte buffer in class file format - must not be
-     *                            modified
-     * @return A well-formed class file buffer (the result of the transform), or null if
-     *         no transform is performed
-     * @throws java.lang.instrument.IllegalClassFormatException
-     *          If the input does not represent a well-formed
-     *          class file
-     */
-    byte[] transform(
-            ClassLoader loader,
-            String className,
-            Class<?> classBeingRedefined,
-            ProtectionDomain protectionDomain,
-            byte[] classfileBuffer) throws IllegalClassFormatException;
 
+	byte[] transform(ClassLoader loader,
+                 String className,
+                 Class<?> classBeingRedefined,
+                 ProtectionDomain protectionDomain, 
+                 byte[] classfileBuffer) 
+					throws IllegalClassFormatException;
 }

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java?rev=796379&r1=796378&r2=796379&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProvider.java
Tue Jul 21 16:54:27 2009
@@ -22,22 +22,18 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
+
 package javax.persistence.spi;
 
+import javax.persistence.EntityManagerFactory;
 import java.util.Map;
 
-import javax.persistence.EntityManagerFactory;
 
-/**
- * @version $Rev$ $Date$
- */
 public interface PersistenceProvider {
 
-    public EntityManagerFactory createEntityManagerFactory(String emName, 
-        Map map);
+    public EntityManagerFactory createEntityManagerFactory(String emName, Map map);
 
-    public EntityManagerFactory createContainerEntityManagerFactory(
-        PersistenceUnitInfo info, Map map);
+    public EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map map);
 
     public LoadState isLoadedWithoutReference(Object entity, 
         String attributeName);

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolver.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolver.java?rev=796379&r1=796378&r2=796379&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolver.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceProviderResolver.java
Tue Jul 21 16:54:27 2009
@@ -27,6 +27,7 @@
 
 import java.util.List;
 
+
 public interface PersistenceProviderResolver {
 
     List<PersistenceProvider> getPersistenceProviders();

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitInfo.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitInfo.java?rev=796379&r1=796378&r2=796379&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitInfo.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitInfo.java
Tue Jul 21 16:54:27 2009
@@ -22,27 +22,24 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
+
 package javax.persistence.spi;
 
-import java.net.URL;
+import javax.sql.DataSource;
 import java.util.List;
 import java.util.Properties;
+import java.net.URL;
 
-import javax.persistence.Caching;
-import javax.persistence.ValidationMode;
-import javax.sql.DataSource;
 
-/**
- * @version $Rev$ $Date$
- */
-public interface PersistenceUnitInfo {
 
+public interface PersistenceUnitInfo {
     public String getPersistenceUnitName();
 
     public String getPersistenceProviderClassName();
 
     public PersistenceUnitTransactionType getTransactionType();
 
+
     public DataSource getJtaDataSource();
 
     public DataSource getNonJtaDataSource();
@@ -53,6 +50,7 @@
 
     public URL getPersistenceUnitRootUrl();
 
+
     public List<String> getManagedClassNames();
 
     public boolean excludeUnlistedClasses();
@@ -67,6 +65,7 @@
 
     public ClassLoader getClassLoader();
 
+
     public void addTransformer(ClassTransformer transformer);
 
     public ClassLoader getNewTempClassLoader();

Modified: geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitTransactionType.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitTransactionType.java?rev=796379&r1=796378&r2=796379&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitTransactionType.java
(original)
+++ geronimo/specs/trunk/geronimo-jpa_2.0_spec/src/main/java/javax/persistence/spi/PersistenceUnitTransactionType.java
Tue Jul 21 16:54:27 2009
@@ -22,11 +22,10 @@
 // Community Process. In order to remain compliant with the specification
 // DO NOT add / change / or delete method signatures!
 //
+
 package javax.persistence.spi;
 
-/**
- * @version $Rev$ $Date$
- */
 public enum PersistenceUnitTransactionType {
-    JTA, RESOURCE_LOCAL
-}
\ No newline at end of file
+	JTA,
+	RESOURCE_LOCAL
+}



Mime
View raw message