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 | Method and Description |
---|---|
<T extends PolicyAssertion> |
PolicyAssertion.getImplementation(Class<T> type)
Casts the assertion to the implementation type.
|
Modifier and Type | Method and Description |
---|---|
Collection<PolicyAssertion> |
AssertionSet.get(QName name)
Searches for assertions with given name.
|
Iterator<PolicyAssertion> |
PolicyAssertion.getNestedAssertionsIterator()
Deprecated.
Use getNestedParametersIterator() instead
|
Iterator<PolicyAssertion> |
PolicyAssertion.getParametersIterator()
Returns the assertion's parameter collection iterator.
|
Iterator<PolicyAssertion> |
AssertionSet.iterator()
Returns an iterator over a set of child policy assertion objects.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
static AssertionSet |
AssertionSet.createAssertionSet(Collection<? extends PolicyAssertion> assertions)
Creates and returns new assertion set holding a set of provided policy assertions.
|
Constructor and Description |
---|
ComplexAssertion(AssertionData data,
Collection<? extends PolicyAssertion> assertionParameters,
AssertionSet nestedAlternative) |
PolicyAssertion(AssertionData assertionData,
Collection<? extends PolicyAssertion> assertionParameters)
Creates generic assertionand stores the data specified in input parameters
|
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. |
SimpleAssertion(AssertionData data,
Collection<? extends PolicyAssertion> assertionParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
PolicyModelGenerator.translate(ModelNode assertionNode,
Iterator<PolicyAssertion> assertionParametersIterator)
Iterates through all contained assertions and adds them to the info model.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.validateClientSide(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. |
PolicyAssertionValidator.Fitness |
AbstractQNameValidator.validateServerSide(PolicyAssertion assertion) |
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–2014 Oracle Corporation. All rights reserved.