Author: nbelaevski
Date: 2007-05-02 13:40:09 -0400 (Wed, 02 May 2007)
New Revision: 158
Modified:
trunk/framework/src/main/java/org/ajax4jsf/cache/CacheManager.java
Log:
AJSF-39: LRUMapCacheFactory is selected by default
Modified: trunk/framework/src/main/java/org/ajax4jsf/cache/CacheManager.java
===================================================================
--- trunk/framework/src/main/java/org/ajax4jsf/cache/CacheManager.java 2007-05-02 17:38:50
UTC (rev 157)
+++ trunk/framework/src/main/java/org/ajax4jsf/cache/CacheManager.java 2007-05-02 17:40:09
UTC (rev 158)
@@ -1,12 +1,16 @@
package org.ajax4jsf.cache;
-import java.io.*;
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
-import org.ajax4jsf.framework.resource.InternetResourceService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -17,7 +21,7 @@
private static final Log log = LogFactory.getLog(CacheManager.class);
private static final String FACTORY_PROPERTY_NAME =
"org.ajax4jsf.cache.CacheFactory";
- private static final String DEFAULT_FACTORY_NAME =
"org.ajax4jsf.cache.OSCacheCacheFactory";
+ private static final String DEFAULT_FACTORY_NAME =
"org.ajax4jsf.cache.LRUMapCacheFactory";
public static final String CACHE_MANAGER_FACTORY_CLASS =
"org.ajax4jsf.cache.CACHE_MANAGER_FACTORY_CLASS";
protected static CacheManager instance = new CacheManager();
Show replies by date