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 com.netflix.spinnaker.echo.discovery.DiscoveryActivated.java

/**
 * A component that starts doing something when the instance is up in discovery
 * and stops doing that thing when it goes down.
 */
public interface DiscoveryActivated extends ApplicationListener<RemoteStatusChangedEvent> {

From source file org.thingsplode.agent.infrastructure.DeviceController.java

/**
 *
 * @author tamas.csaba@gmail.com
 */
@Component
public class DeviceController implements ApplicationListener<ApplicationEvent> {

From source file springfox.test.contract.swagger.listeners.ObjectMapperEventListener.java

import springfox.documentation.schema.configuration.ObjectMapperConfigured;

public class ObjectMapperEventListener implements ApplicationListener<ObjectMapperConfigured>, Ordered {
    @Override
    public void onApplicationEvent(ObjectMapperConfigured event) {
        ObjectMapper objectMapper = event.getObjectMapper();

From source file com.company.project.config.StompConnectedEvent.java

/**
 *
 * @author Romer
 */
@Component
public class StompConnectedEvent implements ApplicationListener<SessionConnectedEvent> {

From source file net.radai.confusion.spring.TraditionalConfigurationConsumerBean.java

/**
 * Created by Radai Rosenblatt
 */
public class TraditionalConfigurationConsumerBean
        implements ApplicationListener<SpringConfigurationChangedEvent<Cats>> {
    private Cats conf;

From source file com.company.project.config.StompConnectEvent.java

/**
 *
 * @author Romer
 */
//@WebListener
@Component

From source file org.pidster.mqtt.shell.config.MqttConsolePromptProvider.java

/**
 * @author pidster
 *
 */
public class MqttConsolePromptProvider implements PromptProvider, ApplicationListener<ConnectionEvent> {

From source file org.ventiv.docker.manager.service.ApplicationEventPluginService.java

/**
 * Created by jcrygier on 6/6/16.
 */
@Service
public class ApplicationEventPluginService implements ApplicationListener<ApplicationEvent> {

From source file com.jhkt.playgroundArena.shared.events.listeners.UpdateListener.java

/**
 * @author Ji Hoon Kim
 */
public final class UpdateListener implements ApplicationListener<UpdateEvent> {

    @Override

From source file nl.enovation.addressbook.jpa.webui.init.RunDBInitializerWhenNeeded.java

/**
 * <p>
 * Special class used to initialize the database when starting the container. The database is only initialized when the database is empty.
 * </p>
 * 
 * @author Jettro Coenradie