|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceCache
Interface that defines the shape of a pluggable resource cache for the included ResourceManager
Method Summary | |
---|---|
Iterator |
enumerateKeys()
returns an Iterator of Keys in the cache |
Resource |
get(Object resourceKey)
retrieves a Resource from the cache |
void |
initialize(RuntimeServices rs)
initializes the ResourceCache. |
Resource |
put(Object resourceKey,
Resource resource)
stores a Resource in the cache |
Resource |
remove(Object resourceKey)
removes a Resource from the cache |
Method Detail |
---|
void initialize(RuntimeServices rs)
rs
- RuntimeServices to use for logging, etcResource get(Object resourceKey)
resourceKey
- key for Resource to be retrieved
Resource put(Object resourceKey, Resource resource)
resourceKey
- key to associate with the Resourceresource
- Resource to be stored
Resource remove(Object resourceKey)
resourceKey
- resource to be removed
Iterator enumerateKeys()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |