Uses of Class
com.sun.xml.ws.policy.Policy
Package
Description
The root package of public policy API.
The part of public policy API that defines the classes and interfaces dealing with
the policy tree structure (policy source model) creation and manipulation.
Implements utility routines to parse external policy attachments as defined
by WS-PolicyAttachment.
-
Uses of Policy in com.sun.xml.ws.policy
Modifier and TypeClassDescriptionfinal class
A special policy implementation that assures that only no or single policy alternative is possible within this type of policy.Modifier and TypeMethodDescriptionstatic Policy
Policy.createEmptyPolicy()
The factory method creates an immutable policy instance which represents a 'anything allowed' policy expression.static Policy
Policy.createEmptyPolicy
(NamespaceVersion nsVersion, String name, String policyId) The factory method creates an immutable policy instance which represents a 'anything allowed' policy expression.static Policy
Policy.createEmptyPolicy
(String name, String policyId) The factory method creates an immutable policy instance which represents a 'anything allowed' policy expression.static Policy
Policy.createNullPolicy()
The factory method creates an immutable policy instance which represents a 'nothing allowed' policy expression.static Policy
Policy.createNullPolicy
(NamespaceVersion nsVersion, String name, String policyId) The factory method creates an immutable policy instance which represents a 'nothing allowed' policy expression.static Policy
Policy.createNullPolicy
(String name, String policyId) The factory method creates an immutable policy instance which represents a 'nothing allowed' policy expression.static Policy
Policy.createPolicy
(NamespaceVersion nsVersion, String name, String policyId, Collection<AssertionSet> sets) The factory method creates an immutable policy instance which represents a policy expression with alternatives specified bysets
input parameter.static Policy
Policy.createPolicy
(String name, String policyId, Collection<AssertionSet> sets) The factory method creates an immutable policy instance which represents a policy expression with alternatives specified bysets
input parameter.static Policy
Policy.createPolicy
(Collection<AssertionSet> sets) The factory method creates an immutable policy instance which represents a policy expression with alternatives specified bysets
input parameter.PolicySubject.getEffectivePolicy
(PolicyMerger merger) Returns the effective policy of the subject, i.e.PolicyMap.getEndpointEffectivePolicy
(PolicyMapKey key) PolicyMap.getFaultMessageEffectivePolicy
(PolicyMapKey key) PolicyMap.getInputMessageEffectivePolicy
(PolicyMapKey key) PolicyMap.getOperationEffectivePolicy
(PolicyMapKey key) PolicyMap.getOutputMessageEffectivePolicy
(PolicyMapKey key) PolicyMap.getServiceEffectivePolicy
(PolicyMapKey key) Performs intersection on the input collection of policies and returns the resulting (intersected) policy.PolicyMerger.merge
(Collection<Policy> policies) Takes collection of policies and merges them into a single policy using algorithm described in WS-PolicyAttachment specification.Modifier and TypeMethodDescriptionvoid
Attaches another Policy instance to the policy subject.Performs intersection on the input collection of policies and returns the resulting (intersected) policy.void
EffectivePolicyModifier.setNewEffectivePolicyForEndpointScope
(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the endpoint scope (identified by akey
parameter) with the new efective policy provided as a second input parameter.void
EffectivePolicyModifier.setNewEffectivePolicyForFaultMessageScope
(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the fault message scope (identified by akey
parameter) with the new efective policy provided as a second input parameter.void
EffectivePolicyModifier.setNewEffectivePolicyForInputMessageScope
(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the input message scope (identified by akey
parameter) with the new efective policy provided as a second input parameter.void
EffectivePolicyModifier.setNewEffectivePolicyForOperationScope
(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the operation scope (identified by akey
parameter) with the new efective policy provided as a second input parameter.void
EffectivePolicyModifier.setNewEffectivePolicyForOutputMessageScope
(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the output message scope (identified by akey
parameter) with the new efective policy provided as a second input parameter.void
EffectivePolicyModifier.setNewEffectivePolicyForServiceScope
(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the service scope (identified by akey
parameter) with the new efective policy provided as a second input parameter.Modifier and TypeMethodDescriptionPolicyMerger.merge
(Collection<Policy> policies) Takes collection of policies and merges them into a single policy using algorithm described in WS-PolicyAttachment specification.ModifierConstructorDescriptionPolicySubject
(Object subject, Policy policy) Constructs a policy subject instance.ModifierConstructorDescriptionPolicySubject
(Object subject, Collection<Policy> policies) Constructs a policy subject instance. -
Uses of Policy in com.sun.xml.ws.policy.sourcemodel
Modifier and TypeMethodDescriptionPolicyModelTranslator.translate
(PolicySourceModel model) The method translatesPolicySourceModel
structure into normalizedPolicy
expression.Modifier and TypeMethodDescriptionprotected PolicySourceModel
Create an instance of the PolicySourceModel.abstract PolicySourceModel
This method translates aPolicy
into apolicy infoset
. -
Uses of Policy in com.sun.xml.ws.policy.sourcemodel.attach