Example usage for org.springframework.context ApplicationListener interface-usage

List of usage examples for org.springframework.context ApplicationListener interface-usage

Introduction

In this page you can find the example usage for org.springframework.context ApplicationListener interface-usage.

Usage

From source file io.cloudslang.worker.management.services.WorkerManager.java

public class WorkerManager implements ApplicationListener, EndExecutionCallback, WorkerRecoveryListener {

    private static final int KEEP_ALIVE_FAIL_LIMIT = 5;
    private static final String DOTNET_PATH = System.getenv("WINDIR") + "/Microsoft.NET/Framework";
    private static final Logger logger = Logger.getLogger(WorkerManager.class);

From source file fr.free.hd.servers.gui.PhonemView.java

/**
 * Shows the owners and their pets in a tree structure.
 * 
 * Several dialogs are used to show detail information or messages. Notice that
 * we're explicitly setting {@link CloseAction}s to either dispose or hide the
 * dialog as an example. Check out the default behavior of the dialog type that

From source file cloudfoundry.norouter.f5.Agent.java

/**
 * @author Mike Heath
 */
// TODO Should we loggregate when pool members are added/removed?
// TODO If we throw an exception adding a route, what do we do?
public class Agent implements ApplicationListener<ApplicationEvent>, Ordered, AutoCloseable {

From source file org.shaigor.rest.retro.client.oauth.OAuthPostAuthListener.java

@Component
/**
 * Piggybacks on authentication to acquire OAuth token with the credentials
 * @author ishaigorodsky
 *
 */

From source file org.bigtester.ate.model.casestep.StepDataLogger.java

/**
 * This class StepDataLogger defines ....
 * 
 * @author Peidong Hu
 *
 */

From source file com.amalto.core.server.Initialization.java

public class Initialization implements ApplicationListener<ContextRefreshedEvent>, InitializingBean, DisposableBean,
        ApplicationEventPublisherAware {

    @Autowired(required = true)
    private ServerLifecycle serverLifecycle;

From source file werecloud.api.bean.VMWareMacCache.java

/**
 * <code>VMWareMacCache</code>
 * Date: 28/12/2014
 * Time: 1:05 PM
 */
public class VMWareMacCache implements ApplicationListener, Runnable {

From source file org.osiam.OsiamHome.java

@Order(ConfigFileApplicationListener.DEFAULT_ORDER - 1)
public class OsiamHome implements ApplicationListener<ApplicationEvent> {

    private static final Logger logger = LoggerFactory.getLogger(OsiamHome.class);

    private boolean hasInitializedHome = false;

From source file org.jasig.schedassist.impl.events.AutomaticAppointmentCancellationApplicationListener.java

/**
 * {@link ApplicationListener} that sends an email to all the attendees
 * of an event that was automatically cancelled by the Scheduling Assistant.
 * 
 * @author Nicholas Blair, nblair@doit.wisc.edu
 * @version $Id: AutomaticAppointmentCancellationApplicationListener.java $

From source file org.geoserver.wps.executor.WPSExecutionManager.java

/**
 * Manages the process runs for both synchronous and asynchronous processes
 * 
 * @author Andrea Aime - GeoSolutions
 * 
 */