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
-
public class ManagedClientAssertion extends ManagementAssertion
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 Modifier and Type Field Description static QName
MANAGED_CLIENT_QNAME
-
Fields inherited from class com.sun.xml.ws.api.config.management.policy.ManagementAssertion
MANAGEMENT_ATTRIBUTE_QNAME, MONITORING_ATTRIBUTE_QNAME
-
-
Constructor Summary
Constructors Constructor Description ManagedClientAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedClientAssertion
getAssertion(WSPortInfo portInfo)
Return ManagedClient assertion if there is one associated with the client.boolean
isManagementEnabled()
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, getNestedAssertionsIterator, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
-
-
-
Field Detail
-
MANAGED_CLIENT_QNAME
public static final QName MANAGED_CLIENT_QNAME
-
-
Constructor Detail
-
ManagedClientAssertion
public ManagedClientAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters) throws AssertionCreationException
- Throws:
AssertionCreationException
-
-
Method Detail
-
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.
-
-