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 nc.noumea.mairie.organigramme.core.utility.ApplicationContextUtils.java

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

    private static ApplicationContext ctx;

From source file org.springmodules.validation.bean.conf.loader.xml.handler.ConditionReferenceRuleElementHandler.java

/**
 * An {@link org.springmodules.validation.bean.conf.loader.xml.handler.AbstractPropertyValidationElementHandler} that
 * can handle {@link org.springmodules.validation.bean.conf.loader.annotation.handler.ConditionRef} xml element and
 * create the appropriate property validation rule.
 *
 * @author Uri Boness

From source file com.pos.spatobiz.app.view.karyawan.TombolKaryawan.java

/**
 *
 * @author echo
 */
public class TombolKaryawan extends Button implements ApplicationContextAware, InitializingBean {

From source file org.apache.cxf.fediz.example.ApplicationContextProvider.java

/**
 * This class provides an application-wide access to the
 * Spring ApplicationContext.
 **/
@Component
public class ApplicationContextProvider implements ApplicationContextAware {

From source file com.dm.platform.core.service.impl.BaseService.java

/**
 *
 * @author Administrator
 * @param <Model>
 * @param <Dao>
 */

From source file net.sourceforge.hypo.inject.resolver.DefaultTypeSpringBeanResolver.java

/**
 * A Spring-aware DependencyResolver that looks up the Spring ApplicationContext to find the single bean
 * which has the same type as or is a subclass of the Dependency's type
 */
public class DefaultTypeSpringBeanResolver extends AbstractDependencyResolver implements ApplicationContextAware {
    private static Logger log = Logger.getLogger(DefaultTypeSpringBeanResolver.class.getCanonicalName());

From source file org.carewebframework.shell.themes.ThemeDefinition.java

/**
 * Each instance of this class defines a complete definition of a CareWeb theme.
 */
public class ThemeDefinition implements ApplicationContextAware {

    public enum ThemeType {

From source file com.github.steveash.spring.WiringFactorySupport.java

/**
 * Support class that allows a prototype instance that you supply to be registered in the container and
 * injected with @Resource, have @PostConstruct, etc. called.
 *
 * Create a spring-managed factory and then before returning your constructed instance call the wire() method
 * below, passing the instance, to have it injected with resources and registered in the container.

From source file com.lazyloading.tag.context.LazyApplicationContextAware.java

/**
 * @author Sahil Shaikh
 *
 */
public class LazyApplicationContextAware implements ApplicationContextAware {

From source file de.tudarmstadt.ukp.clarin.webanno.model.support.spring.ApplicationContextProvider.java

/**
 * Permits access to the Spring context anywhere in the application. If any other means of accessing
 * the Spring context exist, these should be used. This class is mainly meant to be used by the
 * {@code EntityModel}.
 *
 */