|
@@ -14,14 +14,8 @@ import java.util.Map;
|
|
|
*/
|
|
*/
|
|
|
public class SpringContextUtil implements ApplicationContextAware {
|
|
public class SpringContextUtil implements ApplicationContextAware {
|
|
|
|
|
|
|
|
- public static SpringContextUtil springContextUtil = new SpringContextUtil();
|
|
|
|
|
-
|
|
|
|
|
private static ApplicationContext context = null;
|
|
private static ApplicationContext context = null;
|
|
|
|
|
|
|
|
- public final static synchronized SpringContextUtil getInstance() {
|
|
|
|
|
- return springContextUtil;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
private SpringContextUtil() {
|
|
private SpringContextUtil() {
|
|
|
super();
|
|
super();
|
|
|
}
|
|
}
|