NVelocity.Runtime.Resource
Class ResourceCacheImpl

Default implementation of the resource cache for the default ResourceManager. *

Field Summary
System.Collections.Hashtable cache
         Cache storage, assumed to be thread-safe.
NVelocity.Runtime.RuntimeServices rsvc
         Runtime services, generally initialized by the
initialize()
method.

Constructor Summary
ResourceCacheImpl()
        Initializes a new instance of the ResourceCacheImpl class.

Method Summary
System.Collections.IEnumerator enumerateKeys()
NVelocity.Runtime.Resource.Resource get(object key)
void initialize(NVelocity.Runtime.RuntimeServices rs)
NVelocity.Runtime.Resource.Resource put(object key, NVelocity.Runtime.Resource.Resource value_Renamed)
NVelocity.Runtime.Resource.Resource remove(object key)

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

cache

protected internal System.Collections.Hashtable cache

Cache storage, assumed to be thread-safe.


rsvc

protected internal NVelocity.Runtime.RuntimeServices rsvc

Runtime services, generally initialized by the

initialize()
method.

Constructor Detail

ResourceCacheImpl

public ResourceCacheImpl()

Initializes a new instance of the ResourceCacheImpl class.

Method Detail

enumerateKeys

public System.Collections.IEnumerator enumerateKeys()


get

public NVelocity.Runtime.Resource.Resource get(object key)


initialize

public void initialize(NVelocity.Runtime.RuntimeServices rs)


put

public NVelocity.Runtime.Resource.Resource put(object key,
                                               NVelocity.Runtime.Resource.Resource value_Renamed)


remove

public NVelocity.Runtime.Resource.Resource remove(object key)