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 seava.j4e.presenter.service.ServiceLocatorJee.java

/**
 * Service locator utility methods.
 * 
 * @author amathe
 */
public class ServiceLocatorJee implements ApplicationContextAware, IServiceLocator {

From source file org.kani.spring.Application.java

@SuppressWarnings("serial")
public class Application extends org.kani.Application implements ApplicationContextAware {

    @Autowired
    public void setMessageSource(final MessageSource messageSource) {
        final MessageSourceAdapter messageSourceAdapter = new MessageSourceAdapter(messageSource);

From source file org.vaadin.spring.context.VaadinApplicationContext.java

/**
 * VaadinApplicationContext allows static access to the {@link org.springframework.context.ApplicationContext}.
 * This implementation exists to provide access from non-managed spring beans.
 * <p>A VaadinApplicationContext provides:
 * <ul>
 * <li>Access to the Spring {@link org.springframework.context.ApplicationContext}.

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

public class SpringManagedSnippetResolver extends DefaultSnippetResolver implements ApplicationContextAware {

    private ApplicationContext applicationContext;

    @Override
    public void setApplicationContext(ApplicationContext context) throws BeansException {

From source file com.mmj.app.common.core.SpringContextAware.java

/**
 * @author zxc Jul 11, 2014 5:24:45 PM
 */
@Component
public class SpringContextAware implements ApplicationContextAware, BeanFactoryPostProcessor {

From source file org.jnap.core.manager.CrudManagerFactory.java

/**
 * @author Daniel Rochetti
 */
public final class CrudManagerFactory implements ApplicationContextAware {

    private ApplicationContext applicationContext;

From source file com.netliard.SpringHook.java

/**
 * Singleton to get Sring Application Context outside a Bean.
 * 
 * @author Samuel Liard
 * 
 */

From source file org.openmrs.module.pmtct.util.ContextProvider.java

/**
 * Utility class to give non bean classes access to the Spring application context
 * and the servlet context
 */
public class ContextProvider implements ApplicationContextAware, ServletContextAware {

From source file tomekkup.helenos.service.impl.ClusterConnectionProviderImpl.java

/**
 * ********************************************************
 * Copyright: 2012 Tomek Kuprowski
 *
 * License: GPLv2: http://www.gnu.org/licences/gpl.html
 *

From source file com.newlandframework.avatarmq.spring.AvatarMQServer.java

/**
 * @filename:AvatarMQServer.java
 * @description:AvatarMQServer?
 * @author tangjie<https://github.com/tang-jie>
 * @blog http://www.cnblogs.com/jietang/
 * @since 2016-8-11