org.jboss.portal.common.util
Interface MapAccessor


public interface MapAccessor

An interface which defines how a map can be accessed.

Version:
$Revision: 7228 $
Author:
Julien Viet

Method Summary
 java.util.Map getMap(boolean requestWriteable)
          Return the accessed map.
 

Method Detail

getMap

java.util.Map getMap(boolean requestWriteable)
Return the accessed map.

Parameters:
requestWriteable - whether or not the Map will be accessed for a write-type (e.g., put, remove...) operation. This allows for lazy initialization via a create-on-write mechanism.
Returns:
a non null map