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 acromusashi.stream.component.rabbitmq.RabbitmqClusterContextReader.java

/**
 * RabbitMQ??<br>
 * <br>
 * ?
 * 
 * @author otoda

From source file org.saiku.reporting.backend.server.ApplicationContextHolder.java

public class ApplicationContextHolder implements ApplicationContextAware {

    private static ApplicationContext CONTEXT;

    public void setApplicationContext(ApplicationContext context) throws BeansException {
        CONTEXT = context;

From source file org.wallerlab.yoink.molecular.config.MolecularConfig.java

/**
 * this class is to configure molecular project
 * 
 * @author Min Zheng
 *
 */

From source file com.github.ipaas.ifw.context.spring.FwSpringServiceProviderInjector.java

/**
 * @author wudie FWSpring
 */
public class FwSpringServiceProviderInjector implements ApplicationContextAware {

    private static Logger logger = LoggerFactory.getLogger(FwSpringServiceProviderInjector.class);

From source file com.astamuse.asta4d.misc.spring.SpringManagedInstanceResolver.java

public class SpringManagedInstanceResolver implements DeclareInstanceResolver, ApplicationContextAware {

    private ApplicationContext beanCtx;

    public SpringManagedInstanceResolver() {

From source file com.gybas.evaluation.quartz.jobs.UserTransactionLookupJob.java

/**
 * Quartz job that calls the {@link UserTransactionLookup} bean from the Spring application
 * context. The application context gets injected into this class by
 * {@link org.springframework.scheduling.quartz.SpringBeanJobFactory}.
 * 
 * @author Stefan Gybas

From source file org.sharegov.timemachine.ApplicationContextProvider.java

/** 
 * This class provides an application-wide access to the 
 * Spring ApplicationContext! The ApplicationContext is 
 * injected in a static method of the class "AppContext". 
 * 
 * Use AppContext.getApplicationContext() to get access 

From source file mojo.view.util.SpringUtils.java

@Component
public class SpringUtils implements ApplicationContextAware {

    private static ApplicationContext applicationContext;

    public static boolean containsBean(String id) {

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

/**
 * Diese Thread-sichere Implementierung setzt einen Countdown-Zhler um. Zeitnahme findet in Millisekunden statt.
 *
 * @author mmatthies
 */
class AlarmRunnable implements Runnable, ApplicationContextAware, TimeyEventListener {

From source file net.bull.javamelody.SpringContext.java

/**
 * Enregistrement du context Spring.
 * @author Emeric Vernat
 */
public class SpringContext implements ApplicationContextAware {
    private static SpringContext singleton;