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.spi |
The package contains policy API extension point definitions.
|
Modifier and Type | Method and Description |
---|---|
static AssertionSet |
AssertionSet.createAssertionSet(Collection<? extends PolicyAssertion> assertions)
Creates and returns new assertion set holding a set of provided policy assertions.
|
static AssertionSet |
AssertionSet.createMergedAssertionSet(Collection<AssertionSet> alternatives)
Creates and returns new assertion set holding content of all provided policy assertion sets.
|
static AssertionSet |
AssertionSet.emptyAssertionSet() |
AssertionSet |
NestedPolicy.getAssertionSet()
Returns the AssertionSet instance representing a single policy alterantive held wihtin this nested policy object.
|
Modifier and Type | Method and Description |
---|---|
Iterator<AssertionSet> |
Policy.iterator()
A policy usually contains one or more assertion sets.
|
Modifier and Type | Method and Description |
---|---|
int |
AssertionSet.compareTo(AssertionSet that)
An
Comparable<T>.compareTo(T o) interface method implementation. |
Modifier and Type | Method and Description |
---|---|
static AssertionSet |
AssertionSet.createMergedAssertionSet(Collection<AssertionSet> alternatives)
Creates and returns new assertion set holding content of all provided policy assertion sets.
|
static Policy |
Policy.createPolicy(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,
String name,
String policyId,
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(String name,
String policyId,
Collection<AssertionSet> sets)
The factory method creates an immutable policy instance which represents a policy expression with
alternatives specified by
sets input parameter. |
Constructor and Description |
---|
ComplexAssertion(AssertionData data,
Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
PolicyAssertion(AssertionData assertionData,
Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative)
Deprecated.
Non-abstract assertion types should derive from
SimpleAssertion
or ComplexAssertion instead. Policy class will not provide support for
nested policy alternatives in the future. This responsibility is delegated to
ComplexAssertion class instead. |
Modifier and Type | Method and Description |
---|---|
protected void |
PolicyModelGenerator.translate(ModelNode node,
AssertionSet assertions)
Add the contents of the assertion set as child node to the given model node.
|
Modifier and Type | Method and Description |
---|---|
PolicyAssertion |
PolicyAssertionCreator.createAssertion(AssertionData data,
Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
Creates domain-specific policy assertion instance according to assertion data provided.
|
Copyright © 2006–2016 Oracle Corporation. All rights reserved.