List of usage examples for org.springframework.context ApplicationContextAware interface-usage
From source file de.forsthaus.util.ApplicationContextProvider.java
/**
* EN: Easy access to the spring applicationContext. Configured as spring bean.<br>
* DE: Einfacher Zugriff auf den spring ApplicationContext. Konfiguriert als
* spring bean.<br>
*
* @author Stephan Gerth
From source file cherry.foundation.testtool.reflect.ReflectionResolverImpl.java
public class ReflectionResolverImpl implements ReflectionResolver, ApplicationContextAware { private ApplicationContext appCtx; @Override public void setApplicationContext(ApplicationContext applicationContext) {
From source file com.lcw.one.common.utils.SpringContextHolder.java
/**
* ?????Spring ApplicationContext, ???ApplicaitonContext.
*
* @author Zaric
* @date 2013-5-29 ?1:25:40
*/
From source file com.zergiu.tvman.ApplicationContextProvider.java
/** * @author sergiu * */ public class ApplicationContextProvider implements ApplicationContextAware {
From source file eu.cloud4soa.frontend.commons.server.services.soa.mapping.ApplicationContextProvider.java
public class ApplicationContextProvider implements ApplicationContextAware { private static ApplicationContext ctx; public static ApplicationContext getCtx() { return ctx; }
From source file org.jasig.cas.util.ApplicationContextProvider.java
public class ApplicationContextProvider implements ApplicationContextAware { private static ApplicationContext context = null; public static ApplicationContext getApplicationContext() { return context; }
From source file org.openmrs.module.usagestatistics.util.ContextProvider.java
/** * Utility class to give non bean classes access to the Spring application context * and the servlet context */ public class ContextProvider implements ApplicationContextAware, ServletContextAware {
From source file org.openmrs.module.tracdataquality.utils.ContextProvider.java
/** * Utility class to give non bean classes access to the Spring application context * and the servlet context */ public class ContextProvider implements ApplicationContextAware, ServletContextAware {
From source file net.sourceforge.hypo.inject.resolver.RegExSpringBeanResolver.java
public class RegExSpringBeanResolver extends AbstractDependencyResolver implements ApplicationContextAware { private static Logger log = Logger.getLogger(RegExSpringBeanResolver.class.getCanonicalName()); private ApplicationContext applicationContext; private RegExMapper mapper;
From source file org.trpr.platform.core.impl.event.PlatformEventProducerImpl.java
/**
* The <code>PlatformEventProducerImpl</code> is an implementation of the PlatformEventProducer interface.
* Wraps the PlatformEvent into a Spring ApplicationEvent and publishes it to the Spring ApplicationContext.
* This event producer can work only within a Spring container as it is dependent on the ApplicationContext to publish events.
* A Spring ApplicationEventMulticaster may be configured to route events published by this producer to consumers registered in
* the same ApplicationContext.