You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "SimpleHello (GitHub)" <gi...@apache.org> on 2020/01/03 03:27:52 UTC

[GitHub] [dubbo-spring-boot-project] SimpleHello commented on issue #641: /dubbo-2.7.3.jar!/org/apache/dubbo ---- What's the matter with the " ! "

I have the same problem 。。where is the  method

DubboRelaxedBinding2AutoConfiguration # 45 

@Bean(
        name = {"dubboScanBasePackagesPropertyResolver"}
    )
    public PropertyResolver dubboScanBasePackagesPropertyResolver(final ConfigurableEnvironment environment) {
        ConfigurableEnvironment propertyResolver = new AbstractEnvironment() {
            protected void customizePropertySources(MutablePropertySources propertySources) {
                Map<String, Object> dubboScanProperties = **PropertySourcesUtils.getPrefixedProperties**(environment.getPropertySources(), "dubbo.scan.");
                propertySources.addLast(new MapPropertySource("dubboScanProperties", dubboScanProperties));
            }
        };
        ConfigurationPropertySources.attach(propertyResolver);
        return new DelegatingPropertyResolver(propertyResolver);
    }






[ Full content available at: https://github.com/apache/dubbo-spring-boot-project/issues/641 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org