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