|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to object storage and retrieval facility. Users will access and store objects based on a keyType and key.
keyType - maps to a storage facility, such as a Map.
key - maps to the requested object.
Method Summary | |
Object |
getObject(String keyType,
String key)
Returns the requested object based on the keyType and key. |
void |
setObject(String keyType,
String key,
Object value)
Sets the object in the storage facility based on keyType and key. |
Method Detail |
public Object getObject(String keyType, String key) throws KeyResolverException
Returns null if the key does not exist.
Throws exception if the keyType is invalid.
keyType
- Stringkey
- String
KeyResolverException
public void setObject(String keyType, String key, Object value) throws KeyResolverException
Throws exception if the keyType is invalid.
keyType
- Stringkey
- Stringvalue
- Object
KeyResolverException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |