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 com.pkrete.locationservice.admin.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 com.ebay.pulsar.metric.server.MetricServer.java

public class MetricServer implements ApplicationListener<ApplicationEvent>, ApplicationContextAware {

    private static final Logger LOGGER = LoggerFactory.getLogger(MetricServer.class.getName());
    private ApplicationContext applicationContext;
    private Server s_server = null;

From source file nc.noumea.mairie.annuairev2.saisie.core.utility.ApplicationContextUtils.java

/**
 * Classe utilitaire pour grer l'application-context spring
 */
public class ApplicationContextUtils implements ApplicationContextAware {

    private static ApplicationContext ctx;

From source file net.noctuasource.act.spring.SpringBeanInjector.java

/**
 * SpringBeanInjector.
 * @author Philipp Thomas
 */
public class SpringBeanInjector implements Injector, ApplicationContextAware {

From source file com.ea.core.orm.handle.AbstractORMHandle.java

public abstract class AbstractORMHandle implements ORMHandle, ApplicationContextAware {
    protected ApplicationContext context = null;

    @Autowired
    private SqlSessionTemplate mybatisSessionTemplate;
    @Autowired

From source file com.kunckle.jetpower.core.utils.ApplicationContextUtils.java

/**
 * Spring Application Context ?
 */
public class ApplicationContextUtils implements ApplicationContextAware {

    private static ApplicationContext applicationContext;

From source file eu.trentorise.smartcampus.permissionprovider.oauth.ContextExtender.java

/**
 * Context extension to customize the OAuth2 authorization endpoint
 * @author raman
 *
 */
@Component

From source file com.sshdemo.common.extendds.generate.factory.bean.BeanDataSourceFactory.java

/**
 * Bean??
 * 
 * @author ?
 */
@Service

From source file com.smhdemo.common.datasource.generate.factory.bean.BeanDataSourceFactory.java

/**
 * Bean??
 * 
 * @author ?
 */
@Service

From source file de.iew.services.impl.DataSourceServiceFactoryImpl.java

/**
 * Implementiert einen Dienst zum Auflsen von
 * {@link DataSourceService}-Implementierungen.
 *
 * @author Manuel Schulze <manuel_schulze@i-entwicklung.de>
 * @TODO Ausbauen und Services bspw anhand einer speziellen Annotation deklarieren und in PostConstruct suchen lassen.