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.mifos.module.sms.provider.SMSGatewayProvider.java

@Component
public class SMSGatewayProvider implements ApplicationContextAware {

    private ApplicationContext applicationContext;

    public SMSGateway get(final String smsGatewayProvider) {

From source file org.shept.util.SpringApplicationContextHolder.java

/**
 *  
 * @version $Rev$
 * @author Andreas Hahn
 * 
 * This is a helper for getting a reference to the Spring ApplicationContext from

From source file it.paolorendano.clm.SpringContextHolder.java

/**
 * The Class SpringContextHolder.
 */
@Component
public class SpringContextHolder implements ApplicationContextAware {

From source file com.fasheng.queue.receiver.AbstractMQReceiverStarter.java

/**
 * @author von gosling 2012-1-9 05:14:19
 */
public abstract class AbstractMQReceiverStarter
        implements ApplicationListener<ApplicationEvent>, ApplicationContextAware {
    private String desiredEventClassName;

From source file me.adaptive.core.data.SpringContextHolder.java

/**
 * Created by panthro on 04/06/15.
 */
@Component
public class SpringContextHolder implements ApplicationContextAware {
    private static ApplicationContext applicationContext;

From source file com.vnet.demo.utils.SpringUtil.java

@Component
public class SpringUtil implements ApplicationContextAware {

    private static ApplicationContext context;

    @Override

From source file dqyt.cy6.yutao.common.spring.ApplicationContextProvider.java

public class ApplicationContextProvider implements ApplicationContextAware {

    private static ApplicationContext applicationContext;

    public static ApplicationContextProvider instance() {
        return (ApplicationContextProvider) applicationContext.getBean("applicationContextProvider");

From source file com.ankang.report.util.BeanUtil.java

/**
 * 
 * @Description: ?springBean ?spring
 * @author: ankang
 * @date: 2015-8-3 ?6:06:48
 */

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

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

From source file com.googlecode.starflow.core.util.ApplicationContextHolder.java

/**
 * 
 * @author libinsong1204@gmail.com
 * @version 1.0
 */
public class ApplicationContextHolder implements ApplicationContextAware {