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
  • Field Details

    • MANAGED_CLIENT_QNAME

      public static final QName MANAGED_CLIENT_QNAME
  • Constructor Details

    • ManagedClientAssertion

      public ManagedClientAssertion(com.sun.xml.ws.policy.sourcemodel.AssertionData data, Collection<com.sun.xml.ws.policy.PolicyAssertion> assertionParameters) throws com.sun.xml.ws.policy.spi.AssertionCreationException
      Throws:
      com.sun.xml.ws.policy.spi.AssertionCreationException
  • Method Details

    • getAssertion

      public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws javax.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:
      javax.xml.ws.WebServiceException - If computing the effective policy of the port failed.
    • isManagementEnabled

      public boolean isManagementEnabled()
      Clients cannot be managed.
      Specified by:
      isManagementEnabled in class ManagementAssertion
      Returns:
      False.