|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.iscream.cms.server.componentmanager.ConfigurationCache
ConfigurationCache class This is essentially a wrapper and cache for Configuration CORBA objects. The ConfigurationProxy creates an instance of this class for every Configuration that is requested. This class then hold the reference to the configuration, but also maintains a cache where the ConfigurationProxy can store cached property values to safe on CORBA requests.
Field Summary | |
private Configuration |
_config
The Configuration this configuration cache looks after |
private HashMap |
_propertyCache
A hash that contains cached property values |
static String |
REVISION
The current CVS revision of this class |
Constructor Summary | |
ConfigurationCache(Configuration config,
HashMap propertyCache)
Construct a ConfigurationCache |
Method Summary | |
Configuration |
getConfig()
Obtains the reference to the CORBA configuration object this cache holds. |
HashMap |
getPropertyCache()
Obtins the hash containing cached configuration property values. |
void |
setConfig(Configuration config)
Sets this cache to hold a new CORBA Configuration object. |
void |
setPropertyCache(HashMap propertyCache)
Sets this cache to hold a new property cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String REVISION
private HashMap _propertyCache
private Configuration _config
Constructor Detail |
public ConfigurationCache(Configuration config, HashMap propertyCache)
config
- a reference to the CORBA Configuration object this cache will holdpropertyCache
- a hashMap to hold cached propertiesMethod Detail |
public HashMap getPropertyCache()
public Configuration getConfig()
public void setConfig(Configuration config)
config
- the new CORBA Configuration objectpublic void setPropertyCache(HashMap propertyCache)
propertyCache
- the new hash map to containing a property cache
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |