code: @Override
      public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) {
          LepServiceProvider scanner = getScanner();
          Set<String> basePackages = getBasePackages(importingClassMetadata);
          for (String basePackage : basePackages) {
              Set<BeanDefinition> candidateComponents = scanner.findCandidateComponents(basePackage);
  
              for (BeanDefinition candidateComponent : candidateComponents) {
                  if (candidateComponent instanceof AnnotatedBeanDefinition) {
                      AnnotatedBeanDefinition beanDefinition = (AnnotatedBeanDefinition) candidateComponent;
                      AnnotationMetadata annotationMetadata = beanDefinition.getMetadata();
  
                      Map<String, Object> attributes = annotationMetadata
                          .getAnnotationAttributes(LepService.class.getCanonicalName());
  
                      registerLepService(registry, annotationMetadata, attributes);
                  }
              }
          }
      }
docs: {@inheritDoc}