openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r791063 - /incubator/openwebbeans/trunk/webbeans-jpa/src/test/java/org/apache/webbeans/test/unittests/resource/ResourceInjectionTest.java
Date Sat, 04 Jul 2009 06:23:28 GMT
Author: gerdogdu
Date: Sat Jul  4 06:23:28 2009
New Revision: 791063

URL: http://svn.apache.org/viewvc?rev=791063&view=rev
Log:
Reflecting some class names changes in webbeans-impl.

Modified:
    incubator/openwebbeans/trunk/webbeans-jpa/src/test/java/org/apache/webbeans/test/unittests/resource/ResourceInjectionTest.java

Modified: incubator/openwebbeans/trunk/webbeans-jpa/src/test/java/org/apache/webbeans/test/unittests/resource/ResourceInjectionTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-jpa/src/test/java/org/apache/webbeans/test/unittests/resource/ResourceInjectionTest.java?rev=791063&r1=791062&r2=791063&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-jpa/src/test/java/org/apache/webbeans/test/unittests/resource/ResourceInjectionTest.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-jpa/src/test/java/org/apache/webbeans/test/unittests/resource/ResourceInjectionTest.java
Sat Jul  4 06:23:28 2009
@@ -17,8 +17,8 @@
 import javax.persistence.EntityManager;
 import javax.persistence.EntityManagerFactory;
 
-import org.apache.webbeans.component.AbstractComponent;
-import org.apache.webbeans.container.ManagerImpl;
+import org.apache.webbeans.component.AbstractBean;
+import org.apache.webbeans.container.BeanManagerImpl;
 import org.apache.webbeans.context.ContextFactory;
 import org.apache.webbeans.test.component.resource.TstResourcePersistenceBean;
 import org.apache.webbeans.test.servlet.TestContext;
@@ -39,14 +39,14 @@
     public void init()
     {
         super.init();
-        this.container = ManagerImpl.getManager();
+        this.container = BeanManagerImpl.getManager();
         clear();
     }
 
     @Test
     public void testPersistenceContextInjection() throws Exception
     {
-        AbstractComponent<?> tstComponent = defineSimpleWebBean(TstResourcePersistenceBean.class);
+        AbstractBean<?> tstComponent = defineSimpleWebBean(TstResourcePersistenceBean.class);
         Assert.assertNotNull(tstComponent);
         
         ContextFactory.initRequestContext(null);



Mime
View raw message