|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.policy.util.PolicyRegistry
PolicyRegistry is useful to resolve any PolicyReferences to actual policies. It can optionally be passed as an argument to policy operations (i.e. normalize(...), merge(...) and intersect(...)) and any PolicyReference is resovled to actually Policy within that operations.
Constructor Summary | |
PolicyRegistry()
|
|
PolicyRegistry(PolicyRegistry parent)
|
Method Summary | |
PolicyRegistry |
getParent()
|
java.util.Iterator |
keys()
|
Policy |
lookup(java.lang.String policyURI)
Returns the Policy object which is uniquely identified by the policyURI String. |
void |
register(java.lang.String policyURI,
Policy policy)
Registers a Policy object with the specified policyURI. |
void |
setParent(PolicyRegistry parent)
|
void |
unregister(java.lang.String policyURI)
Unregisters a Policy object specified by the policyURI. |
java.util.Iterator |
values()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolicyRegistry()
public PolicyRegistry(PolicyRegistry parent)
Method Detail |
public void setParent(PolicyRegistry parent)
public PolicyRegistry getParent()
public Policy lookup(java.lang.String policyURI) throws java.lang.IllegalArgumentException
policyURI
- a String which uniquely indentifies the Policy
java.lang.IllegalArgumentException
public void register(java.lang.String policyURI, Policy policy)
policyURI
- the key which should be the policyURI of the Policy objectpolicy
- the Policy object to registerpublic void unregister(java.lang.String policyURI)
policyURI
- the policyURI of the Policy object to unregisterpublic java.util.Iterator keys()
public java.util.Iterator values()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |