Author: julien(a)jboss.com
Date: 2008-07-18 11:12:13 -0400 (Fri, 18 Jul 2008)
New Revision: 11500
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/model/portal/PersistentPortalObjectContainer.java
Log:
remove ConcurrentReaderHashMap in favor of j.u.c.ConcurrentHashMap for the natural object
id bache
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/model/portal/PersistentPortalObjectContainer.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/model/portal/PersistentPortalObjectContainer.java 2008-07-18
14:53:51 UTC (rev 11499)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/model/portal/PersistentPortalObjectContainer.java 2008-07-18
15:12:13 UTC (rev 11500)
@@ -22,7 +22,6 @@
******************************************************************************/
package org.jboss.portal.core.impl.model.portal;
-import EDU.oswego.cs.dl.util.concurrent.ConcurrentReaderHashMap;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
@@ -36,6 +35,7 @@
import org.jboss.portal.security.spi.auth.PortalAuthorizationManagerFactory;
import javax.naming.InitialContext;
+import java.util.concurrent.ConcurrentHashMap;
/**
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
@@ -72,7 +72,7 @@
protected ObjectContextualizer contextualizer;
/** . */
- protected ConcurrentReaderHashMap cache;
+ protected ConcurrentHashMap cache;
/** . */
protected boolean cacheNaturalId;
@@ -119,7 +119,7 @@
//
contextualizer = new ObjectContextualizer(ctx);
- cache = new ConcurrentReaderHashMap();
+ cache = new ConcurrentHashMap();
}
public String getRootName()