Class ManagedServiceAssertion


  • public class ManagedServiceAssertion
    extends ManagementAssertion
    The server-side ManagedService policy assertion.
    Author:
    Fabian Ritzmann
    • Field Detail

      • MANAGED_SERVICE_QNAME

        public static final QName MANAGED_SERVICE_QNAME
    • Method Detail

      • getAssertion

        public static ManagedServiceAssertion getAssertion​(WSEndpoint endpoint)
                                                    throws jakarta.xml.ws.WebServiceException
        Return ManagedService assertion if there is one associated with the endpoint.
        Parameters:
        endpoint - The endpoint. Must not be null.
        Returns:
        The policy assertion if found. Null otherwise.
        Throws:
        jakarta.xml.ws.WebServiceException - If computing the effective policy of the endpoint failed.
      • isManagementEnabled

        public boolean isManagementEnabled()
        Returns the value of the management attribute. True if unset or set to "true" or "on". False otherwise.
        Specified by:
        isManagementEnabled in class ManagementAssertion
        Returns:
        The value of the management attribute.
      • getEndpointDisposeDelay

        public long getEndpointDisposeDelay​(long defaultDelay)
                                     throws jakarta.xml.ws.WebServiceException
        Returns the value of the endpointDisposeDelay attribute or the default value otherwise.
        Parameters:
        defaultDelay - The default value that is returned if this attribute is not set
        Returns:
        The value of the endpointDisposeDelay attribute or the default value otherwise.
        Throws:
        jakarta.xml.ws.WebServiceException
      • getCommunicationServerImplementations

        public Collection<ManagedServiceAssertion.ImplementationRecord> getCommunicationServerImplementations()
        A list of CommunicationServerImplementation elements that were set as parameters of this assertion.
        Returns:
        A list of CommunicationServerImplementation elements that were set as parameters of this assertion. May be empty.
      • getConfiguratorImplementation

        public ManagedServiceAssertion.ImplementationRecord getConfiguratorImplementation()
        The ConfiguratorImplementation that was set as parameter of this assertion.
        Returns:
        The ConfiguratorImplementation that was set as parameter of this assertion. May be null.
      • getConfigSaverImplementation

        public ManagedServiceAssertion.ImplementationRecord getConfigSaverImplementation()
        The ConfigSaverImplementation that was set as parameter of this assertion.
        Returns:
        The ConfigSaverImplementation that was set as parameter of this assertion. May be null.
      • getConfigReaderImplementation

        public ManagedServiceAssertion.ImplementationRecord getConfigReaderImplementation()
        The ConfigReaderImplementation that was set as parameter of this assertion.
        Returns:
        The ConfigReaderImplementation that was set as parameter of this assertion. May be null.