How to inject ApplicationContext itself
-
29-10-2019 - |
Question
I want to inject an ApplicationContext
itself to a bean.
Something like
public void setApplicationContext(ApplicationContect context) {
this.context = context;
}
Is that possible in spring?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow