public interface PolicyRegistry
Modifier and Type | Method and Description |
---|---|
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.
|
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 removedCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.