Class DefaultEndpointResolver<EndpointType extends Endpoint>

    • Field Detail

      • log

        @Nonnull
        private org.slf4j.Logger log
        Class logger.
    • Constructor Detail

      • DefaultEndpointResolver

        public DefaultEndpointResolver()
    • Method Detail

      • checkBindingCriterion

        private boolean checkBindingCriterion​(@Nonnull
                                              BindingCriterion bindings,
                                              @Nonnull
                                              EndpointType endpoint)
        Verify the candidate's Binding attribute, if set, is among the set in the supplied criterion.
        Parameters:
        bindings - the bindings to allow
        endpoint - the candidate endpoint
        Returns:
        true iff the candidate has no Binding, or its Binding is permitted
      • checkEndpointCriterion

        private boolean checkEndpointCriterion​(@Nonnull
                                               EndpointCriterion<EndpointType> comparison,
                                               @Nonnull
                                               EndpointType endpoint)
        Verify the candidate's attributes match any attributes supplied in the criterion.
        Parameters:
        comparison - the endpoint to compare against
        endpoint - the candidate endpoint
        Returns:
        true iff the candidate's attributes match those of the criterion