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