Class ManagedClientAssertion
java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.policy.SimpleAssertion
com.sun.xml.ws.api.config.management.policy.ManagementAssertion
com.sun.xml.ws.api.config.management.policy.ManagedClientAssertion
The client-side ManagedClient policy assertion.
- Author:
- Fabian Ritzmann
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
ManagementAssertion.Setting -
Field Summary
FieldsFields inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
MANAGEMENT_ATTRIBUTE_QNAME, MONITORING_ATTRIBUTE_QNAME -
Constructor Summary
ConstructorsConstructorDescriptionManagedClientAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters) -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedClientAssertiongetAssertion(WSPortInfo portInfo) Return ManagedClient assertion if there is one associated with the client.booleanClients cannot be managed.Methods inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
getAssertion, getId, getStart, monitoringAttributeMethods inherited from class com.sun.xml.ws.policy.SimpleAssertion
getNestedPolicy, hasNestedPolicyMethods inherited from class com.sun.xml.ws.policy.PolicyAssertion
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getParametersIterator, getValue, hashCode, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
Field Details
-
MANAGED_CLIENT_QNAME
-
-
Constructor Details
-
ManagedClientAssertion
public ManagedClientAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters) throws AssertionCreationException - Throws:
AssertionCreationException
-
-
Method Details
-
getAssertion
Return ManagedClient assertion if there is one associated with the client.- Parameters:
portInfo- The client PortInfo.- Returns:
- The policy assertion if found. Null otherwise.
- Throws:
WebServiceException- If computing the effective policy of the port failed.
-
isManagementEnabled
public boolean isManagementEnabled()Clients cannot be managed.- Specified by:
isManagementEnabledin classManagementAssertion- Returns:
- False.
-