Class DiscoveryFilter

    • Constructor Detail

      • DiscoveryFilter

        public DiscoveryFilter​(Collection<QName> types,
                               Collection<String> scopes)
        Creates a new discovery filter with a discovery id that is unique across one application instance.
        Parameters:
        types - the types to match.
        scopes - the scopes to match.
        See Also:
        WS-Discovery Probe
      • DiscoveryFilter

        public DiscoveryFilter​(Collection<QName> types,
                               Collection<String> scopes,
                               @Nullable
                               MatchBy matchBy)
        Creates a new discovery filter with a discovery id that is unique across one application instance.
        Parameters:
        types - the types to match.
        scopes - the scopes to match.
        matchBy - the scopes matching rule, or null to use the default http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01/rfc3986.
        See Also:
        WS-Discovery Probe
    • Method Detail

      • getMatchBy

        public MatchBy getMatchBy()
      • getDiscoveryId

        public String getDiscoveryId()
        Gets the discovery id.

        The discovery id is used to distinguish between probe requests.

        Returns:
        the discover id of this filter.