|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
Context of the plexus container.
Method Summary | |
---|---|
boolean |
contains(Object key)
Returns true if the map or the parent map contains the key. |
Object |
get(Object key)
Returns the value of the key. |
Map |
getContextData()
Utility method to retrieve containerContext data. |
void |
hide(Object key)
Hides the item in the containerContext. |
void |
makeReadOnly()
Make the containerContext read-only. |
void |
put(Object key,
Object value)
Adds the item to the containerContext. |
Method Detail |
---|
Object get(Object key) throws ContextException
key
- The key of the value to look up.
ContextException
- If the key doesn't exist.Map getContextData()
boolean contains(Object key)
key
- The key to search for.
void put(Object key, Object value) throws IllegalStateException
key
- the key of the itemvalue
- the item
IllegalStateException
- if containerContext is read onlyvoid hide(Object key) throws IllegalStateException
key
- the items key
IllegalStateException
- if containerContext is read onlyvoid makeReadOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |