Module com.sun.xml.ws
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
Fields inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
MANAGEMENT_ATTRIBUTE_QNAME, MONITORING_ATTRIBUTE_QNAME
-
Constructor Summary
ConstructorDescriptionManagedClientAssertion
(AssertionData data, Collection<PolicyAssertion> assertionParameters) -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedClientAssertion
getAssertion
(WSPortInfo portInfo) Return ManagedClient assertion if there is one associated with the client.boolean
Clients cannot be managed.Methods inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
getAssertion, getId, getStart, monitoringAttribute
Methods inherited from class com.sun.xml.ws.policy.SimpleAssertion
getNestedPolicy, hasNestedPolicy
Methods 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
public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws jakarta.xml.ws.WebServiceException 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:
jakarta.xml.ws.WebServiceException
- If computing the effective policy of the port failed.
-
isManagementEnabled
public boolean isManagementEnabled()Clients cannot be managed.- Specified by:
isManagementEnabled
in classManagementAssertion
- Returns:
- False.
-