Author: alexsmirnov
Date: 2010-07-12 19:35:30 -0400 (Mon, 12 Jul 2010)
New Revision: 17988
Modified:
root/core/trunk/impl/src/main/java/org/ajax4jsf/context/InitParametersStorage.java
root/core/trunk/impl/src/main/java/org/richfaces/application/DefaultModule.java
Log:
https://jira.jboss.org/browse/RF-8768
Modified:
root/core/trunk/impl/src/main/java/org/ajax4jsf/context/InitParametersStorage.java
===================================================================
---
root/core/trunk/impl/src/main/java/org/ajax4jsf/context/InitParametersStorage.java 2010-07-12
23:32:43 UTC (rev 17987)
+++
root/core/trunk/impl/src/main/java/org/ajax4jsf/context/InitParametersStorage.java 2010-07-12
23:35:30 UTC (rev 17988)
@@ -26,14 +26,11 @@
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
-import javax.inject.Singleton;
-
/**
* <p class="changed_added_4_0"></p>
* @author asmirnov(a)exadel.com
*
*/
-@Singleton
public class InitParametersStorage {
ConcurrentMap<String,Object> storage = new ConcurrentHashMap<String,
Object>(5);
Modified: root/core/trunk/impl/src/main/java/org/richfaces/application/DefaultModule.java
===================================================================
---
root/core/trunk/impl/src/main/java/org/richfaces/application/DefaultModule.java 2010-07-12
23:32:43 UTC (rev 17987)
+++
root/core/trunk/impl/src/main/java/org/richfaces/application/DefaultModule.java 2010-07-12
23:35:30 UTC (rev 17988)
@@ -1,6 +1,7 @@
package org.richfaces.application;
import org.ajax4jsf.cache.Cache;
+import org.ajax4jsf.context.InitParametersStorage;
import org.ajax4jsf.renderkit.AJAXDataSerializer;
import org.richfaces.resource.DefaultResourceCodec;
import org.richfaces.resource.ResourceCodec;
@@ -16,6 +17,7 @@
factory.setInstance(Cache.class,new CacheProvider());
factory.setInstance(Uptime.class, new Uptime());
factory.setInstance(DependencyInjector.class, new
DependencyInjectionServiceImpl());
+ factory.setInstance(InitParametersStorage.class, new InitParametersStorage());
}
}