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.apache.asyncweb.spring.HttpServiceLoader.java

/**
 * Loads all <code>HttpService</code>s defined in an <code>ApplicationContext</code> to an associated
 * <code>HttpServiceHandler</code>
 * 
 */
public class HttpServiceLoader implements ApplicationContextAware {

From source file org.obiba.onyx.engine.ModuleRegistrationListener.java

/**
 * Finds all {@link Module} instances in the Spring {@code ApplicationContext} and registers them in the
 * {@link ModuleRegistry}. The method {@link Module#initialize()} is called before registration. The method
 * {@link Module#shutdown()} is called after un-registration.
 */
/* This annotation is necessary for having a valid Hibernate session throughout the startup of the modules */

From source file de.fau.amos4.configuration.ApplicationContextProvider.java

/**
 * Sets the context for AppContext. Needed for access of locale within java Applications, i.e. the drop down classes Disabled, Sex... 
 */
@Configuration
public class ApplicationContextProvider implements ApplicationContextAware {
    public void setApplicationContext(ApplicationContext ctx) throws BeansException {

From source file com.codestd.spring.cxf.config.BeanRegistry.java

/**
 * Registry Bean
 * @author jaune(Wang Chengwei)
 * @since 1.0.0
 */
public class BeanRegistry implements ApplicationContextAware {

From source file de.acosix.alfresco.utility.share.spring.EarlyActingBeanDefinitionFromPropertiesPostProcessor.java

/**
 * @author Axel Faust, <a href="http://acosix.de">Acosix GmbH</a>
 */
public class EarlyActingBeanDefinitionFromPropertiesPostProcessor extends BeanDefinitionFromPropertiesPostProcessor
        implements BeanFactoryAware, ApplicationContextAware {

From source file org.spearal.spring.rest.SpearalRestConfigurator.java

/**
 * Spring bean postprocessor to configure the SpearalFactory
 * 
 * @author William DRAI
 */
public class SpearalRestConfigurator implements BeanPostProcessor, ApplicationContextAware {

From source file net.javacrumbs.springws.test.MockWebServiceMessageSender.java

/**
 * Creates new {@link MockWebServiceConnection}. 
 * @author Lukas Krecan
 *
 */
public class MockWebServiceMessageSender extends AbstractMockWebServiceMessageSender

From source file org.geowebcache.io.ImageDecoderContainer.java

/**
 * Class  used for containing all the ImageDecoder implementations in a map. The user should only call the decode()
 * method and internally it uses the reader associated to the input mimetype.
 */
public class ImageDecoderContainer implements ApplicationContextAware {
    /**

From source file com.logsniffer.app.ContextProvider.java

/**
 * Singleton for accessing the app context.
 * 
 * @author mbok
 * 
 */

From source file eu.artofcoding.beetlejuice.spring.SpringContextHelper.java

@Component
public class SpringContextHelper implements ApplicationContextAware {

    @Slf4j
    private Logger logger;