Class INamingServiceProvider.ProviderMatcher<S,​D>

  • Type Parameters:
    S - Static matcher being applied to determine the provider applicability for a particular operation. May not be null
    D - Dynamic matcher being applied during the attempt to generate naming iformation based on provided data. May not be null
    Enclosing interface:
    INamingServiceProvider

    public static class INamingServiceProvider.ProviderMatcher<S,​D>
    extends Object
    Container for naming matchers. Contains both static and dynamic matchers.
    • Constructor Detail

      • ProviderMatcher

        public ProviderMatcher​(S staticMatcher,
                               D dynamicMatcher)
        Constructs an instance of a matcher
        Parameters:
        staticMatcher - Static matching part. May not be null
        dynamicMatcher - Dynamic matching part. May be null
    • Method Detail

      • getDynamicMatcher

        public D getDynamicMatcher()
        Gets the dynamic matcher part
        Returns:
        The dynamic matcher. May be null
      • getStaticMatcher

        public S getStaticMatcher()
        Gets the static matcher part
        Returns:
        The static matcher. May not be null