geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1160106 - /geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/cdi/OpenWebBeansWebInitializer.java
Date Mon, 22 Aug 2011 04:45:07 GMT
Author: dblevins
Date: Mon Aug 22 04:45:07 2011
New Revision: 1160106

URL: http://svn.apache.org/viewvc?rev=1160106&view=rev
Log:
GERONIMO-6117: OpenWebBeansPlugin load optimization

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/cdi/OpenWebBeansWebInitializer.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/cdi/OpenWebBeansWebInitializer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/cdi/OpenWebBeansWebInitializer.java?rev=1160106&r1=1160105&r2=1160106&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/cdi/OpenWebBeansWebInitializer.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/cdi/OpenWebBeansWebInitializer.java
Mon Aug 22 04:45:07 2011
@@ -33,6 +33,7 @@ import org.apache.openejb.cdi.CdiResourc
 import org.apache.openejb.cdi.CdiScanner;
 import org.apache.openejb.cdi.OpenEJBLifecycle;
 import org.apache.openejb.cdi.OpenEJBTransactionService;
+import org.apache.openejb.cdi.OptimizedLoaderService;
 import org.apache.openejb.cdi.StartupObject;
 import org.apache.openejb.loader.SystemInstance;
 import org.apache.webbeans.config.OpenWebBeansConfiguration;
@@ -43,6 +44,7 @@ import org.apache.webbeans.spi.Container
 import org.apache.webbeans.spi.ContextsService;
 import org.apache.webbeans.spi.ConversationService;
 import org.apache.webbeans.spi.JNDIService;
+import org.apache.webbeans.spi.LoaderService;
 import org.apache.webbeans.spi.ResourceInjectionService;
 import org.apache.webbeans.spi.ScannerService;
 import org.apache.webbeans.spi.SecurityService;
@@ -52,7 +54,7 @@ import org.apache.webbeans.spi.adaptor.E
 import org.apache.webbeans.util.WebBeansUtil;
 
 /**
- * @version $Rev: 698441 $ $Date: 2008-09-24 00:10:08 -0700 (Wed, 24 Sep 2008) $
+ * @version $Rev$ $Date$
  */
 public class OpenWebBeansWebInitializer {
     
@@ -75,7 +77,8 @@ public class OpenWebBeansWebInitializer 
         services.put(TransactionService.class, new OpenEJBTransactionService());
         services.put(JNDIService.class, new NoopJndiService());
         services.put(ELAdaptor.class, new EL22Adaptor());
-        
+        services.put(LoaderService.class, new OptimizedLoaderService());
+
         if (startup != null && startup instanceof StartupObject){
             
             ClassLoader cl=((StartupObject)startup).getAppContext().getClassLoader();



Mime
View raw message