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.codehaus.marmalade.msp.finder.FileBasedScriptFinder.java

/**
 * @author jdcasey
 *
 * Created on Nov 26, 2004
 */
public class FileBasedScriptFinder implements ScriptFinder, ApplicationContextAware {

From source file org.zht.framework.zhtdao.hibernate.HibernateConfigurationUtil.java

public class HibernateConfigurationUtil implements ApplicationContextAware {
    private static ApplicationContext applicationContext;

    private static Configuration configuration;

    public static Configuration getConfiguration() {

From source file org.sglover.nlp.SpringClasspathModelLoader.java

/**
 * 
 * @author sglover
 *
 */
public class SpringClasspathModelLoader implements ModelLoader, ApplicationContextAware {

From source file net.tirasa.hct.util.ApplicationContextProvider.java

public class ApplicationContextProvider implements ApplicationContextAware {

    private static ApplicationContext ctx;

    public static ApplicationContext getApplicationContext() {
        return ctx;

From source file com.kurento.kmf.spring.RootWebApplicationContextParentRecoverer.java

/**
 * This class has the objective of finding out whether a root
 * WebApplicationContext has been created by the application developer. In that
 * case, that root application context must be the parent of the Kurento
 * application context. This parent is later used in Kurento application context
 * to override internal bean configurations with the potential customized

From source file nu.yona.server.entities.RepositoryProvider.java

public class RepositoryProvider implements ApplicationContextAware {
    private static Repositories repositories;

    @SuppressWarnings("unchecked")
    public static <E, K extends Serializable> CrudRepository<E, K> getRepository(Class<E> entityClass,
            Class<K> keyClass) {

From source file org.onesun.utils.SpringUtils.java

public class SpringUtils implements ApplicationContextAware {
    private static ApplicationContext applicationContext = null;

    @Override
    public void setApplicationContext(ApplicationContext context) throws BeansException {
        SpringUtils.applicationContext = context;

From source file com.sharksharding.resources.register.bean.RegisterBean.java

/**
 * ??springiocbean
 * 
 * @author gaoxianglong
 * 
 * @version 1.3.7

From source file com.newline.core.service.SpringContextHolder.java

/**
 * ?????Spring ApplicationContext, ???ApplicaitonContext.
 * 
 * @author Zaric
 * @date 2013-5-29 ?1:25:40
 */

From source file seava.j4e.business.service.ServiceLocatorBusiness.java

/**
 * Service locator utility methods.
 * 
 * @author amathe
 */
public class ServiceLocatorBusiness implements ApplicationContextAware {