|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PolicyRegistry contains (URI,Policy) pairs and it is used to resolve explicit Policy references.
Method Summary | |
Policy |
lookup(java.lang.String key)
Returns the Policy that the specified key is mapped. |
void |
register(java.lang.String key,
Policy policy)
Associates a key with a Policy |
void |
remove(java.lang.String key)
Removes the mapping for this key if present. |
Method Detail |
public void register(java.lang.String key, Policy policy)
key
- the key that the specified Policy to be associatedpolicy
- the policy to be associated with the keypublic Policy lookup(java.lang.String key)
key
- the key whose associated Policy is to be returned.
public void remove(java.lang.String key)
key
- the key whose mapping is to be removed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |