wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jra...@apache.org
Subject svn commit: r1026359 - /incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/DeploymentConfiguration.java
Date Fri, 22 Oct 2010 15:06:40 GMT
Author: jramos
Date: Fri Oct 22 15:06:40 2010
New Revision: 1026359

URL: http://svn.apache.org/viewvc?rev=1026359&view=rev
Log:
[WINK-322] Add JSR250 lifecycle manager to DeploymentConfiguration

Modified:
    incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/DeploymentConfiguration.java

Modified: incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/DeploymentConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/DeploymentConfiguration.java?rev=1026359&r1=1026358&r2=1026359&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/DeploymentConfiguration.java
(original)
+++ incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/DeploymentConfiguration.java
Fri Oct 22 15:06:40 2010
@@ -42,6 +42,7 @@ import org.apache.commons.lang.ClassUtil
 import org.apache.wink.common.internal.WinkConfiguration;
 import org.apache.wink.common.internal.application.ApplicationValidator;
 import org.apache.wink.common.internal.i18n.Messages;
+import org.apache.wink.common.internal.lifecycle.JSR250LifecycleManager;
 import org.apache.wink.common.internal.lifecycle.LifecycleManagersRegistry;
 import org.apache.wink.common.internal.lifecycle.ObjectFactory;
 import org.apache.wink.common.internal.lifecycle.ScopeLifecycleManager;
@@ -307,6 +308,7 @@ public class DeploymentConfiguration imp
         if (ofFactoryRegistry == null) {
             ofFactoryRegistry = new LifecycleManagersRegistry();
             ofFactoryRegistry.addFactoryFactory(new ScopeLifecycleManager<Object>());
+            ofFactoryRegistry.addFactoryFactory(new JSR250LifecycleManager<Object>());
         }
         ApplicationValidator applicationValidator = new ApplicationValidator();
         providersRegistry = new ProvidersRegistry(ofFactoryRegistry, applicationValidator);



Mime
View raw message