We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24e489c commit 8414c92Copy full SHA for 8414c92
src/main/java/cn/com/hellowood/dynamicdatasource/utils/ApplicationContextHolder.java
@@ -18,7 +18,7 @@ public class ApplicationContextHolder implements ApplicationContextAware {
18
19
@Override
20
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
21
- this.applicationContext = applicationContext;
+ ApplicationContextHolder.applicationContext = applicationContext;
22
}
23
24
/**
0 commit comments