@@ -0,0 +1,1159 @@
+package util;%0A%0Aimport org.springframework.beans.BeansException;%0Aimport org.springframework.context.ApplicationContext;%0Aimport org.springframework.context.ApplicationContextAware;%0Aimport org.springframework.stereotype.Component;%0A%0A/**%0A* SpringBeanUtil, for retrieving Bean Object back from Spring Bean.%0A* @author Jason/GeW%0A*/%0A@Component%0Apublic class SpringBeanUtil implements ApplicationContextAware%0A%7B%0A    private static ApplicationContext applicationContext = null;%0A%0A    @Override%0A    public void setApplicationContext(ApplicationContext context) throws BeansException %7B%0A        if (SpringBeanUtil.applicationContext == null) %7B%0A            SpringBeanUtil.applicationContext = context;%0A        %7D%0A    %7D%0A%0A    public static ApplicationContext getApplicationContext() %7B%0A        return applicationContext;%0A    %7D%0A%0A    public static Object getBean(String name) %7B%0A        return getApplicationContext().getBean(name);%0A    %7D%0A%0A    public static %3CT%3E T getBean(Class%3CT%3E clazz) %7B%0A        return getApplicationContext().getBean(clazz);%0A    %7D%0A%0A    public static %3CT%3E T getBean(String name, Class%3CT%3E clazz) %7B%0A        return getApplicationContext().getBean(name, clazz);%0A    %7D%0A%7D%0A

Add SpringBeanUtil for getting back Bean Object from Spring...