| Package | Description |
|---|---|
| com.sun.xml.ws.policy |
The root package of public policy API.
|
| com.sun.xml.ws.policy.sourcemodel |
The part of public policy API that defines the classes and interfaces dealing with
the policy tree structure (policy source model) creation and manipulation.
|
| com.sun.xml.ws.policy.sourcemodel.attach |
| Modifier and Type | Class and Description |
|---|---|
class |
NestedPolicy
A special policy implementation that assures that only no or single policy alternative is possible within this type of policy.
|
| Modifier and Type | Field and Description |
|---|---|
private static Policy |
Policy.ANONYMOUS_EMPTY_POLICY
Constant representation of all 'EMPTY' policies returned by createEmptyPolicy() factory method.
|
private static Policy |
Policy.ANONYMOUS_NULL_POLICY
Constant representation of all 'NULL' policies returned by createNullPolicy() factory method.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Policy> |
PolicySubject.policies |
| Modifier and Type | Method and Description |
|---|---|
static Policy |
Policy.createEmptyPolicy()
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createEmptyPolicy(NamespaceVersion nsVersion,
java.lang.String name,
java.lang.String policyId)
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createEmptyPolicy(java.lang.String name,
java.lang.String policyId)
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createNullPolicy()
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createNullPolicy(NamespaceVersion nsVersion,
java.lang.String name,
java.lang.String policyId)
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createNullPolicy(java.lang.String name,
java.lang.String policyId)
The factory method creates an immutable policy instance which represents a
|
static Policy |
Policy.createPolicy(java.util.Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
static Policy |
Policy.createPolicy(NamespaceVersion nsVersion,
java.lang.String name,
java.lang.String policyId,
java.util.Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
static Policy |
Policy.createPolicy(java.lang.String name,
java.lang.String policyId,
java.util.Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
(package private) Policy |
PolicyMap.ScopeMap.getEffectivePolicy(PolicyMapKey key) |
(package private) Policy |
PolicyScope.getEffectivePolicy(PolicyMerger merger)
Returns all policies of the scope merged into one policy
|
Policy |
PolicySubject.getEffectivePolicy(PolicyMerger merger)
Returns the effective policy of the subject, i.e.
|
Policy |
PolicyMap.getEndpointEffectivePolicy(PolicyMapKey key) |
Policy |
PolicyMap.getFaultMessageEffectivePolicy(PolicyMapKey key) |
Policy |
PolicyMap.getInputMessageEffectivePolicy(PolicyMapKey key) |
Policy |
PolicyMap.getOperationEffectivePolicy(PolicyMapKey key) |
Policy |
PolicyMap.getOutputMessageEffectivePolicy(PolicyMapKey key) |
Policy |
PolicyMap.getServiceEffectivePolicy(PolicyMapKey key) |
Policy |
PolicyIntersector.intersect(Policy... policies)
Performs intersection on the input collection of policies and returns the resulting (intersected) policy.
|
Policy |
PolicyMerger.merge(java.util.Collection<Policy> policies)
Takes collection of policies and merges them into a single policy using algorithm described in
WS-PolicyAttachment specification.
|
private static Policy |
EffectiveAlternativeSelector.selectBestAlternative(Policy policy,
AssertionValidationProcessor validationProcessor) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Policy> |
PolicyMap.iterator() |
java.util.Iterator<Policy> |
PolicyMap.ScopeMap.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
PolicySubject.attach(Policy policy)
Attaches another Policy instance to the policy subject.
|
Policy |
PolicyIntersector.intersect(Policy... policies)
Performs intersection on the input collection of policies and returns the resulting (intersected) policy.
|
private static Policy |
EffectiveAlternativeSelector.selectBestAlternative(Policy policy,
AssertionValidationProcessor validationProcessor) |
(package private) void |
PolicyMap.ScopeMap.setNewEffectivePolicy(PolicyMapKey key,
Policy newEffectivePolicy) |
void |
EffectivePolicyModifier.setNewEffectivePolicyForEndpointScope(PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on the endpoint scope (identified by a
key 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 a
key 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 a
key 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 a
key 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 a
key parameter) with the new efective
policy provided as a second input parameter. |
(package private) void |
PolicyMap.setNewEffectivePolicyForScope(PolicyMap.ScopeType scopeType,
PolicyMapKey key,
Policy newEffectivePolicy)
Replaces current effective policy on given scope (identified by a
key 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 a
key parameter) with the new efective
policy provided as a second input parameter. |
| Modifier and Type | Method and Description |
|---|---|
Policy |
PolicyMerger.merge(java.util.Collection<Policy> policies)
Takes collection of policies and merges them into a single policy using algorithm described in
WS-PolicyAttachment specification.
|
| Constructor and Description |
|---|
PolicySubject(java.lang.Object subject,
Policy policy)
Constructs a policy subject instance.
|
| Constructor and Description |
|---|
PolicySubject(java.lang.Object subject,
java.util.Collection<Policy> policies)
Constructs a policy subject instance.
|
| Modifier and Type | Method and Description |
|---|---|
Policy |
PolicyModelTranslator.translate(PolicySourceModel model)
The method translates
PolicySourceModel structure into normalized Policy expression. |
| Modifier and Type | Method and Description |
|---|---|
protected PolicySourceModel |
PolicyModelGenerator.PolicySourceModelCreator.create(Policy policy)
Create an instance of the PolicySourceModel.
|
PolicySourceModel |
NormalizedModelGenerator.translate(Policy policy) |
abstract PolicySourceModel |
PolicyModelGenerator.translate(Policy policy)
This method translates a
Policy into a
policy infoset. |
PolicySourceModel |
CompactModelGenerator.translate(Policy policy) |
| Modifier and Type | Field and Description |
|---|---|
private Policy |
ExternalAttachmentsUnmarshaller.currentPolicy |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.net.URI,Policy> |
ExternalAttachmentsUnmarshaller.map |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<java.net.URI,Policy> |
ExternalAttachmentsUnmarshaller.unmarshal(java.io.Reader source) |
private java.util.Map<java.net.URI,Policy> |
ExternalAttachmentsUnmarshaller.unmarshal(javax.xml.stream.XMLEventReader reader,
javax.xml.stream.events.StartElement parentElement) |
| Modifier and Type | Method and Description |
|---|---|
private void |
ExternalAttachmentsUnmarshaller.processCharacters(javax.xml.stream.events.Characters chars,
javax.xml.stream.events.StartElement currentElement,
java.util.Map<java.net.URI,Policy> map) |
private void |
ExternalAttachmentsUnmarshaller.processStartTag(javax.xml.stream.events.StartElement element,
javax.xml.stream.events.StartElement parent,
javax.xml.stream.XMLEventReader reader,
java.util.Map<java.net.URI,Policy> map) |
private void |
ExternalAttachmentsUnmarshaller.processUri(javax.xml.stream.events.Characters chars,
java.util.Map<java.net.URI,Policy> map) |