openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1606213 - /openwebbeans/trunk/webbeans-arquillian/owb-arquillian-standalone/src/main/java/org/apache/webbeans/arquillian/standalone/OwbLifecycleHandler.java
Date Fri, 27 Jun 2014 20:35:04 GMT
Author: struberg
Date: Fri Jun 27 20:35:04 2014
New Revision: 1606213

URL: http://svn.apache.org/r1606213
Log:
OWB-975 only start ApplicationContext once

Modified:
    openwebbeans/trunk/webbeans-arquillian/owb-arquillian-standalone/src/main/java/org/apache/webbeans/arquillian/standalone/OwbLifecycleHandler.java

Modified: openwebbeans/trunk/webbeans-arquillian/owb-arquillian-standalone/src/main/java/org/apache/webbeans/arquillian/standalone/OwbLifecycleHandler.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-arquillian/owb-arquillian-standalone/src/main/java/org/apache/webbeans/arquillian/standalone/OwbLifecycleHandler.java?rev=1606213&r1=1606212&r2=1606213&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-arquillian/owb-arquillian-standalone/src/main/java/org/apache/webbeans/arquillian/standalone/OwbLifecycleHandler.java
(original)
+++ openwebbeans/trunk/webbeans-arquillian/owb-arquillian-standalone/src/main/java/org/apache/webbeans/arquillian/standalone/OwbLifecycleHandler.java
Fri Jun 27 20:35:04 2014
@@ -43,17 +43,13 @@ public class OwbLifecycleHandler
 
     public void afterDeployment(@Observes AfterDeploy event)
     {
-        ContextsService service = lifecycle.get().getContextService();
-
-        //service.startContext(ApplicationScoped.class, null);
-        service.startContext(ApplicationScoped.class, null);
+        // the application context should be started already
     }
 
     public void beforeUndeployment(@Observes BeforeUnDeploy event)
     {
         ContextsService service = lifecycle.get().getContextService();
 
-        //service.startContext(ApplicationScoped.class, null);
         service.endContext(ApplicationScoped.class, null);
     }
 



Mime
View raw message