public interface PolicyRegistry
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-2013 The Apache Software Foundation. All Rights Reserved.