code: @Override
      protected boolean checkCandidate(String beanName, BeanDefinition beanDefinition) throws IllegalStateException {
          if (super.checkCandidate(beanName, beanDefinition)) {
              return true;
          } else {
              log.warn("Skipping SpringRestClientFactoryBean with name '" + beanName
                      + "' and '" + beanDefinition.getBeanClassName() + "' interfaceClazz"
                      + ". Bean already defined with the same name!");
              return false;
          }
      }
docs: {@inheritDoc}