调整远程调用目录
This commit is contained in:
parent
f70ee63cea
commit
0b3238f7b5
@ -26,7 +26,7 @@ public class RemoteRestScannerComponent implements BeanFactoryPostProcessor, App
|
|||||||
public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory) throws BeansException {
|
public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory) throws BeansException {
|
||||||
RemoteRestScanner scanner = new RemoteRestScanner((BeanDefinitionRegistry) configurableListableBeanFactory);
|
RemoteRestScanner scanner = new RemoteRestScanner((BeanDefinitionRegistry) configurableListableBeanFactory);
|
||||||
scanner.setResourceLoader(this.applicationContext);
|
scanner.setResourceLoader(this.applicationContext);
|
||||||
scanner.scan("**.rpc");
|
scanner.scan("**.remote");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user