Skip to content

Commit

Permalink
fix-6231 (apache#6253)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0791c7c)
  • Loading branch information
kexianjun authored and vio-lin committed Mar 30, 2021
1 parent d6d3f58 commit 3fc8c67
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
import java.util.Objects;
import java.util.Set;

import static com.alibaba.spring.util.AnnotatedBeanDefinitionRegistryUtils.registerBeans;
import static com.alibaba.spring.util.BeanRegistrar.registerInfrastructureBean;
import static com.alibaba.spring.util.ObjectUtils.of;
import static java.util.Arrays.asList;
import static org.apache.dubbo.config.spring.beans.factory.annotation.ServiceBeanNameBuilder.create;
Expand Down Expand Up @@ -126,7 +126,7 @@ public ServiceClassPostProcessor(Set<String> packagesToScan) {
public void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) throws BeansException {

// @since 2.7.5
registerBeans(registry, DubboBootstrapApplicationListener.class);
registerInfrastructureBean(registry, DubboBootstrapApplicationListener.BEAN_NAME, DubboBootstrapApplicationListener.class);

Set<String> resolvedPackagesToScan = resolvePackagesToScan(packagesToScan);

Expand Down

0 comments on commit 3fc8c67

Please sign in to comment.