openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r794390 - in /incubator/openwebbeans/trunk/webbeans-jpa: pom.xml src/main/java/org/apache/webbeans/jpa/plugin/OpenWebBeansJpaPlugin.java
Date Wed, 15 Jul 2009 20:10:54 GMT
Author: gerdogdu
Date: Wed Jul 15 20:10:54 2009
New Revision: 794390

URL: http://svn.apache.org/viewvc?rev=794390&view=rev
Log:
update pom.

Modified:
    incubator/openwebbeans/trunk/webbeans-jpa/pom.xml
    incubator/openwebbeans/trunk/webbeans-jpa/src/main/java/org/apache/webbeans/jpa/plugin/OpenWebBeansJpaPlugin.java

Modified: incubator/openwebbeans/trunk/webbeans-jpa/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-jpa/pom.xml?rev=794390&r1=794389&r2=794390&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-jpa/pom.xml (original)
+++ incubator/openwebbeans/trunk/webbeans-jpa/pom.xml Wed Jul 15 20:10:54 2009
@@ -33,6 +33,12 @@
             <groupId>org.apache.openwebbeans</groupId>
             <artifactId>openwebbeans-impl</artifactId>
         </dependency>
+        
+		<dependency>
+		    <groupId>org.apache.geronimo.specs</groupId>
+		    <artifactId>geronimo-el_1.0_spec</artifactId>
+		    <scope>test</scope>
+		</dependency>        
 
         <dependency>
             <groupId>org.apache.openwebbeans</groupId>
@@ -45,6 +51,7 @@
         <dependency>
             <groupId>org.apache.geronimo.specs</groupId>
             <artifactId>geronimo-jpa_3.0_spec</artifactId>
+            <optional>true</optional>
         </dependency>
 
         <dependency>
@@ -58,12 +65,24 @@
             <scope>test</scope>
         </dependency>
 
+		<dependency>
+		    <groupId>org.apache.geronimo.specs</groupId>
+		    <artifactId>geronimo-interceptor_3.0_spec</artifactId>
+		    <scope>test</scope>
+		</dependency>
+
         <dependency>
             <groupId>org.apache.openjpa</groupId>
             <artifactId>openjpa</artifactId>
             <version>1.2.0</version>
             <scope>test</scope>
         </dependency>
+        
+		<dependency>
+			<groupId>org.apache.geronimo.specs</groupId>
+			<artifactId>geronimo-ejb_3.0_spec</artifactId>
+			<scope>test</scope>
+		</dependency>        
 
         <dependency>
             <groupId>hsqldb</groupId>
@@ -71,5 +90,10 @@
             <version>1.8.0.7</version>
             <scope>test</scope>
         </dependency>
+        <dependency>
+        	<groupId>org.apache.geronimo.specs</groupId>
+        	<artifactId>geronimo-servlet_2.5_spec</artifactId>
+        	<optional>true</optional>
+        </dependency>
     </dependencies>
 </project>

Modified: incubator/openwebbeans/trunk/webbeans-jpa/src/main/java/org/apache/webbeans/jpa/plugin/OpenWebBeansJpaPlugin.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-jpa/src/main/java/org/apache/webbeans/jpa/plugin/OpenWebBeansJpaPlugin.java?rev=794390&r1=794389&r2=794390&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-jpa/src/main/java/org/apache/webbeans/jpa/plugin/OpenWebBeansJpaPlugin.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-jpa/src/main/java/org/apache/webbeans/jpa/plugin/OpenWebBeansJpaPlugin.java
Wed Jul 15 20:10:54 2009
@@ -19,6 +19,7 @@
 import org.apache.webbeans.exception.WebBeansConfigurationException;
 import org.apache.webbeans.jpa.spi.JPAService;
 
+import javax.enterprise.inject.BindingType;
 import javax.persistence.Entity;
 import javax.persistence.EntityManager;
 import javax.persistence.EntityManagerFactory;
@@ -48,7 +49,7 @@
     }
 
     /** {@inheritDoc} */
-    public void isSimpleBeanClass( Class<?> clazz ) throws WebBeansConfigurationException

+    public void isManagedBean( Class<?> clazz ) throws WebBeansConfigurationException

     {
         if (AnnotationUtil.isAnnotationExistOnClass(clazz, Entity.class))
             throw new WebBeansConfigurationException("Web Beans component implementation
class : " + clazz.getName() + " can not be JPA Entity class");



Mime
View raw message