|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public void initialize(RuntimeServices rs)
rs - RuntimeServices to use for logging, etcpublic Resource get(Object resourceKey)
resourceKey - key for Resource to be retrieved
public Resource put(Object resourceKey,
Resource resource)
resourceKey - key to associate with the Resourceresource - Resource to be stored
public Resource remove(Object resourceKey)
resourceKey - resource to be removed
public Iterator enumerateKeys()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||