调整远程调用目录

This commit is contained in:
wanggeng 2021-09-20 16:47:17 +08:00
parent f70ee63cea
commit 0b3238f7b5

View File

@ -26,7 +26,7 @@ public class RemoteRestScannerComponent implements BeanFactoryPostProcessor, App
public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory) throws BeansException {
RemoteRestScanner scanner = new RemoteRestScanner((BeanDefinitionRegistry) configurableListableBeanFactory);
scanner.setResourceLoader(this.applicationContext);
scanner.scan("**.rpc");
scanner.scan("**.remote");
}
@Override