List of usage examples for org.springframework.context ApplicationContextAware interface-usage
From source file com.hesine.manager.utils.SpringContextHolder.java
/**
* ?????Spring ApplicationContext, ???ApplicaitonContext.
*
* @author Zaric
* @date 2013-5-29 ?1:25:40
*/
From source file dqyt.cy6.yutao.identityaccess.application.ApplicationServiceRegistry.java
public class ApplicationServiceRegistry implements ApplicationContextAware { private static ApplicationContext applicationContext; public static AccessApplicationService accessApplicationService() { return (AccessApplicationService) applicationContext.getBean("accessApplicationService");
From source file org.freewheelschedule.freewheel.common.util.ApplicationContextProvider.java
public class ApplicationContextProvider implements ApplicationContextAware { private static ApplicationContext ctx; public static ApplicationContext getApplicationContext() { return ctx; }
From source file com.hfyframework.core.util.SpringContextHolder.java
/**
* ?????Spring ApplicationContext, ???ApplicaitonContext.
*
* @author Zaric
* @date 2013-5-29 ?1:25:40
*/
From source file com.mkm.framework.common.utils.SpringContextHolder.java
/**
* ?????Spring ApplicationContext, ???ApplicaitonContext.
*
* @author Zaric
* @date 2013-5-29 ?1:25:40
*/
From source file eu.trentorise.game.core.AppContextProvider.java
public class AppContextProvider implements ApplicationContextAware { private static ApplicationContext ctx; public void setApplicationContext(ApplicationContext arg0) throws BeansException {
From source file com.saituo.order.commons.utils.SpringContextHolder.java
/**
* ?????Spring ApplicationContext, ???ApplicaitonContext.
*
* @author Zaric
* @date 2013-5-29 ?1:25:40
*/
From source file org.urbantower.j4s.EmbeddedJettyServletContextHandler.java
/**
* This is the customized servlet context handler that ensure the correct
* parent application context for child web contexts.
*
* This solution is little bit messy but ensure wiring of beans from parent
* to web child contexts. Without this the web context cannot see the beans
From source file org.dd4t.springmvc.util.ApplicationContextProvider.java
/**
* Wrapper to always return a reference to the Spring Application Context from
* within non-Spring enabled beans. Unlike Spring MVC's WebApplicationContextUtils
* we do not need a reference to the Servlet context for this. All we need is
* for this bean to be initialized during application startup.
*
From source file org.geoserver.wps.process.GeoServerProcessors.java
/**
* GeoServer replacement for GeoTools's {@link Processors} class, it allow {@link ProcessFilter} to
* be taken into account before creating factories and processes
*
* @author Andrea Aime - GeoSolutions
*