| 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 | Class and Description |
|---|---|
class |
ComplexAssertion
Complex assertion is an abstract class that serves as a base class for any assertion
that MAY contain nested policies.
|
class |
SimpleAssertion
Simple assertion is an abstract class that serves as a base class for any assertion
that MAY NOT contain nested policies.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Comparator<PolicyAssertion> |
AssertionSet.ASSERTION_COMPARATOR
The comparator comapres policy assertions according to their publicly accessible attributes, in the following
order of attributes:
1.
|
private java.util.List<PolicyAssertion> |
AssertionSet.assertions |
| Modifier and Type | Method and Description |
|---|---|
<T extends PolicyAssertion> |
PolicyAssertion.getImplementation(java.lang.Class<T> type)
Casts the assertion to the implementation type.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<PolicyAssertion> |
AssertionSet.get(javax.xml.namespace.QName name)
Searches for assertions with given name.
|
(package private) java.util.Collection<PolicyAssertion> |
AssertionSet.getAssertions()
Return all assertions contained in this assertion set.
|
java.util.Iterator<PolicyAssertion> |
PolicyAssertion.getNestedAssertionsIterator()
Deprecated.
Use getNestedParametersIterator() instead
|
java.util.Iterator<PolicyAssertion> |
PolicyAssertion.getParametersIterator()
Returns the assertion's parameter collection iterator.
|
java.util.Iterator<PolicyAssertion> |
AssertionSet.iterator()
Returns an iterator over a set of child policy assertion objects.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
AssertionSet.add(PolicyAssertion assertion) |
(package private) boolean |
PolicyAssertion.isCompatibleWith(PolicyAssertion assertion,
PolicyIntersector.CompatibilityMode mode)
Checks whether this policy alternative is compatible with the provided policy alternative.
|
PolicyAssertionValidator.Fitness |
AssertionValidationProcessor.validateClientSide(PolicyAssertion assertion)
Validates fitness of the
assertion on the client side. |
PolicyAssertionValidator.Fitness |
AssertionValidationProcessor.validateServerSide(PolicyAssertion assertion)
Validates fitness of the
assertion on the server side. |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
AssertionSet.addAll(java.util.Collection<? extends PolicyAssertion> assertions) |
static AssertionSet |
AssertionSet.createAssertionSet(java.util.Collection<? extends PolicyAssertion> assertions)
Creates and returns new assertion set holding a set of provided policy assertions.
|
| Constructor and Description |
|---|
AssertionSet(java.util.List<PolicyAssertion> list) |
ComplexAssertion(AssertionData data,
java.util.Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
PolicyAssertion(AssertionData assertionData,
java.util.Collection<? extends PolicyAssertion> assertionParameters)
Creates generic assertionand stores the data specified in input parameters
|
PolicyAssertion(AssertionData assertionData,
java.util.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. |
SimpleAssertion(AssertionData data,
java.util.Collection<? extends PolicyAssertion> assertionParameters) |
| Modifier and Type | Class and Description |
|---|---|
private static class |
DefaultPolicyAssertionCreator.DefaultPolicyAssertion |
| Modifier and Type | Method and Description |
|---|---|
PolicyAssertion |
DefaultPolicyAssertionCreator.createAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
|
private PolicyAssertion |
PolicyModelTranslator.createPolicyAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
private PolicyAssertion |
PolicyModelTranslator.createPolicyAssertionParameter(ModelNode parameterNode) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.List<PolicyAssertion> |
PolicyModelTranslator.normalizeRawAssertion(PolicyModelTranslator.RawAssertion assertion) |
| Modifier and Type | Method and Description |
|---|---|
PolicyAssertion |
DefaultPolicyAssertionCreator.createAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
|
private PolicyAssertion |
PolicyModelTranslator.createPolicyAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
protected void |
PolicyModelGenerator.translate(ModelNode assertionNode,
java.util.Iterator<PolicyAssertion> assertionParametersIterator)
Iterates through all contained assertions and adds them to the info model.
|
| Constructor and Description |
|---|
DefaultPolicyAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
| Modifier and Type | Method and Description |
|---|---|
PolicyAssertion |
PolicyAssertionCreator.createAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
Creates domain-specific policy assertion instance according to assertion data provided.
|
| Modifier and Type | Method and Description |
|---|---|
private PolicyAssertionValidator.Fitness |
AbstractQNameValidator.validateAssertion(PolicyAssertion assertion,
java.util.Collection<javax.xml.namespace.QName> thisSideAssertions,
java.util.Collection<javax.xml.namespace.QName> otherSideAssertions) |
PolicyAssertionValidator.Fitness |
AbstractQNameValidator.validateClientSide(PolicyAssertion assertion) |
PolicyAssertionValidator.Fitness |
PolicyAssertionValidator.validateClientSide(PolicyAssertion assertion)
An implementation of this method must return:
Fitness.UNKNOWN if the policy assertion type is not recognized
Fitness.SUPPORTED if the policy assertion is supported in the
client-side context
Fitness.UNSUPPORTED if the policy assertion is recognized however
it's content is not supported. |
PolicyAssertionValidator.Fitness |
AbstractQNameValidator.validateServerSide(PolicyAssertion assertion) |
PolicyAssertionValidator.Fitness |
PolicyAssertionValidator.validateServerSide(PolicyAssertion assertion)
An implementation of this method must return:
Fitness.UNKNOWN if the policy assertion type is not recognized
Fitness.SUPPORTED if the policy assertion is supported in the
server-side context
Fitness.UNSUPPORTED if the policy assertion is recognized however
it's content is not supported. |
| Modifier and Type | Method and Description |
|---|---|
PolicyAssertion |
PolicyAssertionCreator.createAssertion(AssertionData data,
java.util.Collection<PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative,
PolicyAssertionCreator defaultCreator)
Creates domain-specific policy assertion instance according to assertion data provided.
|