Example usage for org.springframework.context ApplicationContextAware interface-usage

List of usage examples for org.springframework.context ApplicationContextAware interface-usage

Introduction

In this page you can find the example usage for org.springframework.context ApplicationContextAware interface-usage.

Usage

From source file org.craftercms.engine.util.spring.ApplicationContextAccessor.java

/**
 * Bean that provide simple access to the Spring application context's beans: first it uses the site's own context.
 * If not specified, it uses the default context. Used for example to access Spring beans from an FTL or a Groovy
 * script.
 *
 * @author Alfonso Vsquez

From source file de.tudarmstadt.ukp.csniper.webapp.support.spring.ApplicationContextProvider.java

public class ApplicationContextProvider implements ApplicationContextAware {
    private static ApplicationContext context = null;

    public static ApplicationContext getApplicationContext() {
        return context;
    }

From source file com.fengduo.spark.commons.core.SpringContextAware.java

/**
 * @author zxc May 28, 2015 5:24:45 PM
 */
@Component
@Lazy(false)
public class SpringContextAware implements ApplicationContextAware, BeanFactoryPostProcessor {

From source file de.tudarmstadt.ukp.dkpro.uby.vis.webapp.support.spring.ApplicationContextProvider.java

public class ApplicationContextProvider implements ApplicationContextAware {
    private static ApplicationContext context = null;

    public static ApplicationContext getApplicationContext() {
        return context;
    }

From source file darks.grid.spring.GridRpcSpringProviderBean.java

public class GridRpcSpringProviderBean implements ApplicationContextAware, InitializingBean {

    private ApplicationContext ctx;

    private Class<?> serviceInterface;

From source file be.redlab.context.spring.integration.SpringContextAwareApplicationContext.java

/**
 * This application context extends from the normal {@link BeanApplicationContext} and can be made aware of a Spring
 * {@link ApplicationContext}. The find and get methods will first look in the BeanApplicationContext where this one
 * extends from and if nothing found it will look for the requested thing in the Spring ApplicationContext.
 *
 * @author redlab

From source file com.indicator_engine.misc.ApplicationContextProvider.java

/**
 * Created by Tanmaya Mahapatra on 28-04-2015.
 */
public class ApplicationContextProvider implements ApplicationContextAware {

    private static ApplicationContext ctx = null;

From source file com.pkrete.locationservice.endpoint.util.ApplicationContextUtils.java

/**
 * This utility class offers access to Spring's applicationContext by
 * implementing the ApplicationContextAware interface. The applicationContext is
 * stored in a static variable and exposed through a get method so that it can
 * be accessed all through the application.
 *

From source file is.landsbokasafn.crawler.rss.CxmlConfigurationManager.java

/**
 * Default RSS configuration manager. Assumes that RssSite beans have been defined in the Heritrix CXML
 * configuration file. 
 * 
 */
public class CxmlConfigurationManager implements RssConfigurationManager, ApplicationContextAware {

From source file rmblworx.tools.timey.SimpleCountdown.java

/**
 * Implementierung eines einfachen Timer's zum ausfhren einer Zeitmessung.
 *
 * @author mmatthies
 */
class SimpleCountdown implements ICountdownTimer, TimeyEventListener, ApplicationContextAware {