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 com.haoocai.jscheduler.core.shared.JschedulerConfig.java

/**
 * @author Michael Jiang on 16/3/16.
 */
@Component
public class JschedulerConfig implements ApplicationContextAware {
    private String connectStr;

From source file net.sourceforge.vulcan.spring.SpringEventHandler.java

public class SpringEventHandler implements EventHandler, ApplicationContextAware {

    private ApplicationContext appCtx;

    public void reportEvent(Event event) {
        if (event instanceof ErrorEvent) {

From source file org.jbr.taskmgr.config.WebInitializer.java

/**
 * Initializes the Servlet 3 web application container for the Task Manager
 * application.
 * 
 * @author <a href="mailto:brulejr@gmail.com">Jon Brule</a>
 */

From source file org.jtheque.primary.utils.choice.AbstractModifyChoiceAction.java

/**
 * An utility class for modify choice actions.
 *
 * @author Baptiste Wicht
 */
public abstract class AbstractModifyChoiceAction extends AbstractChoiceAction implements ApplicationContextAware {

From source file it.pronetics.madstore.crawler.impl.grid.support.MadStoreGrid.java

/**
 * Simple implementation for managing the MadStore grid instance by wrapping
 * the more complex {@link org.gridgain.grid.GridFactory} class.
 *
 * @author Sergio Bossa
 * @author Christian Mongillo

From source file org.alfresco.util.bean.DynamicContextLoader.java

/**
 * Class which dynamically loads additional Spring contexts defined
 * in its list of {@link ContextLoaderEvaluator}s.
 * 
 * @author rgauss
 */

From source file org.jtheque.views.impl.ViewServiceImpl.java

/**
 * A view manager implementation.
 *
 * @author Baptiste Wicht
 */
@ThreadSafe

From source file org.ngrinder.perftest.service.PerfTestServiceConfig.java

/**
 * Dynamic creation of {@link PerfTestService} depending on the cluster enable or disable.
 *
 * @author JunHo Yoon
 * @since 3.1
 */

From source file net.awired.generic.jpa.validator.ForeignIdValidator.java

@Component
public class ForeignIdValidator implements ConstraintValidator<ForeignId, Serializable>, ApplicationContextAware {

    @Inject
    private ApplicationContext applicationContext;
    private ReadDao<IdEntity<Serializable>, Serializable> dao;

From source file org.ngrinder.agent.service.AgentManagerServiceConfig.java

/**
 * Dynamically create a subclass of {@link AgentManagerService} depending on the cluster activation
 * status.
 *
 * @author JunHo Yoon
 * @since 3.1