You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/10/17 22:42:43 UTC

svn commit: r826307 - in /incubator/openwebbeans/trunk/webbeans-porting: pom.xml src/main/java/org/apache/webbeans/test/tck/StandaloneContainersImpl.java

Author: gerdogdu
Date: Sat Oct 17 20:42:43 2009
New Revision: 826307

URL: http://svn.apache.org/viewvc?rev=826307&view=rev
Log:
Several updates and clean up.

Modified:
    incubator/openwebbeans/trunk/webbeans-porting/pom.xml
    incubator/openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/StandaloneContainersImpl.java

Modified: incubator/openwebbeans/trunk/webbeans-porting/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-porting/pom.xml?rev=826307&r1=826306&r2=826307&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-porting/pom.xml (original)
+++ incubator/openwebbeans/trunk/webbeans-porting/pom.xml Sat Oct 17 20:42:43 2009
@@ -51,11 +51,25 @@
             <artifactId>geronimo-jpa_3.0_spec</artifactId>
         </dependency>
 
-	<dependency>
-           <groupId>org.apache.geronimo.specs</groupId>
-	    <artifactId>geronimo-servlet_2.5_spec</artifactId>
-	</dependency>
-
+		<dependency>
+	           <groupId>org.apache.geronimo.specs</groupId>
+		    <artifactId>geronimo-servlet_2.5_spec</artifactId>
+		</dependency>
+
+		<dependency>
+		    <groupId>org.apache.geronimo.specs</groupId>
+		    <artifactId>geronimo-jta_1.1_spec</artifactId>
+		</dependency>
+
+		<dependency>
+		    <groupId>javax.annotation</groupId>
+		    <artifactId>jsr250-api</artifactId>
+		</dependency>
+
+		<dependency>
+		    <groupId>org.apache.geronimo.specs</groupId>
+		    <artifactId>geronimo-interceptor_3.0_spec</artifactId>
+		</dependency>
 
        <dependency>
          <groupId>org.jboss.jsr299.tck</groupId>

Modified: incubator/openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/StandaloneContainersImpl.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/StandaloneContainersImpl.java?rev=826307&r1=826306&r2=826307&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/StandaloneContainersImpl.java (original)
+++ incubator/openwebbeans/trunk/webbeans-porting/src/main/java/org/apache/webbeans/test/tck/StandaloneContainersImpl.java Sat Oct 17 20:42:43 2009
@@ -16,6 +16,9 @@
 import java.net.URL;
 import java.util.Iterator;
 
+import javax.enterprise.inject.spi.BeanManager;
+
+import org.apache.webbeans.container.activity.ActivityManager;
 import org.apache.webbeans.context.ContextFactory;
 import org.apache.webbeans.lifecycle.WebBeansLifeCycle;
 import org.apache.webbeans.spi.ServiceLoader;
@@ -57,6 +60,7 @@
         }catch(Throwable e)
         {
             this.excpetion = new DeploymentException("Standalone Container Impl.",e);
+            throw this.excpetion;
         }
         
     }
@@ -89,6 +93,8 @@
         catch(Throwable e)
         {
             this.excpetion = new DeploymentException("Standalone Container Impl.",e);
+            
+            return false;
         }
         
         return true;
@@ -131,4 +137,8 @@
         return this.excpetion;
     }
 
+    protected BeanManager getBeanManager()
+    {
+        return ActivityManager.getInstance().getRootActivity();
+    }
 }