Skip to content

Commit

Permalink
Override other variant of registerBeanDefintions
Browse files Browse the repository at this point in the history
Fixes gh-22480
  • Loading branch information
wilkinsona committed Jul 24, 2020
1 parent f625d8e commit c605a6e
Showing 1 changed file with 6 additions and 1 deletion.
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -62,6 +62,11 @@ public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, B
delegate.registerRepositoriesIn(registry, getRepositoryConfigurationExtension());
}

@Override
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) {
registerBeanDefinitions(importingClassMetadata, registry, null);
}

private AnnotationRepositoryConfigurationSource getConfigurationSource(BeanDefinitionRegistry registry,
BeanNameGenerator importBeanNameGenerator) {
AnnotationMetadata metadata = AnnotationMetadata.introspect(getConfiguration());
Expand Down

0 comments on commit c605a6e

Please sign in to comment.