|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Interface that defines the shape of a pluggable resource cache for the included ResourceManager *
Method Summary | |
---|---|
System.Collections.IEnumerator |
enumerateKeys() returns an Iterator of Keys in the cache |
NVelocity.Runtime.Resource.Resource |
get(object resourceKey) retrieves a Resource from the cache * |
void |
initialize(NVelocity.Runtime.RuntimeServices rs) initializes the ResourceCache. Will be called before any utilization * |
NVelocity.Runtime.Resource.Resource |
put(object resourceKey, NVelocity.Runtime.Resource.Resource resource) stores a Resource in the cache * |
NVelocity.Runtime.Resource.Resource |
remove(object resourceKey) removes a Resource from the cache * |
Method Detail |
---|
public System.Collections.IEnumerator enumerateKeys()
returns an Iterator of Keys in the cache
public NVelocity.Runtime.Resource.Resource get(object resourceKey)
retrieves a Resource from the cache *
Parameters:
resourceKey
- key for Resource to be retrieved
public void initialize(NVelocity.Runtime.RuntimeServices rs)
initializes the ResourceCache. Will be called before any utilization *
Parameters:
rs
- RuntimeServices to use for logging, etc
public NVelocity.Runtime.Resource.Resource put(object resourceKey, NVelocity.Runtime.Resource.Resource resource)
stores a Resource in the cache *
Parameters:
resourceKey
- key to associate with the Resource
resource
- Resource to be stored
public NVelocity.Runtime.Resource.Resource remove(object resourceKey)
removes a Resource from the cache *
Parameters:
resourceKey
- resource to be removed
Resource
- stored under key
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |