|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A registry.
Method Summary | |
void |
bind(java.lang.Object key,
java.lang.Object value)
Binds the given key with the given value. |
java.util.Iterator |
keyIterator()
Obtains an Iterator for all the keys in the registry. |
java.lang.Object |
lookup(java.lang.Object key)
Lookups a value with the given key. |
void |
rebind(java.lang.Object key,
java.lang.Object value)
Rebinds the given key with the given value. |
java.lang.Object |
unbind(java.lang.Object key)
Unbinds a value with the given key. |
Method Detail |
public void bind(java.lang.Object key, java.lang.Object value) throws ObjectAlreadyBoundException (src)
ObjectAlreadyBoundException (src)
- if there is another value
already bound for that key.public void rebind(java.lang.Object key, java.lang.Object value)
public java.lang.Object unbind(java.lang.Object key) throws ObjectNotBoundException (src)
ObjectNotBoundException (src)
- if there is no value bound to the key.public java.lang.Object lookup(java.lang.Object key) throws ObjectNotBoundException (src)
ObjectNotBoundException (src)
- if there is no value bound to the key.public java.util.Iterator keyIterator()
Iterator
for all the keys in the registry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |