|
|
|
@ -19,9 +19,6 @@ public class SpringUtil implements ApplicationContextAware {
|
|
|
|
|
applicationContext = act;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static ApplicationContext getApplicationContext(){
|
|
|
|
|
return applicationContext;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static <T> T getBean(Class<T> cls){
|
|
|
|
|
return applicationContext.getBean(cls);
|
|
|
|
|