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 org.cloudfoundry.identity.uaa.audit.event.AuditListener.java

/**
 * Spring {@code ApplicationListener} which picks up the listens for {@code AbstractUaaEvent}s and passes the relevant
 * information to the {@code UaaAuditService}.
 * 
 * @author Luke Taylor
 * @author Dave Syer

From source file com.wallmart.calculateroute.ApplicationStartup.java

/**
 *
 * @author Thomas Daniel Kaneko Teixeira(TDKT)
 */
@Component
public class ApplicationStartup implements ApplicationListener<ContextRefreshedEvent> {

From source file com.liferay.analytics.internal.osgi.SpringOsgiBridge.java

/**
 * @author Eduardo Garcia
 */
public class SpringOsgiBridge implements ApplicationListener<ContextRefreshedEvent> {

    @Override

From source file org.pidster.mqtt.shell.ConsoleReceiver.java

/**
 * @author pidster
 *
 */
public class ConsoleReceiver implements ApplicationListener<MqttMessageEvent> {

From source file com.liferay.contenttargeting.internal.osgi.SpringOsgiBridge.java

/**
 * @author Carlos Sierra Andrs
 */
public class SpringOsgiBridge implements ApplicationListener<ContextRefreshedEvent> {

    @Override

From source file com.liferay.anonymoususers.internal.osgi.SpringOsgiBridge.java

/**
 * @author Eduardo Garcia
 */
public class SpringOsgiBridge implements ApplicationListener<ContextRefreshedEvent> {

    @Override

From source file com.ai.bss.webui.datainit.RunDBInitializerWhenNeeded.java

/**
 * <p>Special class used to initialize the database when starting the container. The database is only initialized
 * when the collection "UserEntry" is not yet available.</p>
 * <p>We need to check for the display name of the application context since we by default have two using spring-mvc
 * the way we do.</p>
 *

From source file com.si.xe.trader.webui.init.RunDBInitializerWhenNeeded.java

/**
 * <p>
 * Special class used to initialize the database when starting the container.
 * The database is only initialized when the collection "UserEntry" is not yet
 * available.
 * </p>

From source file org.axonframework.samples.trader.webui.init.RunDBInitializerWhenNeeded.java

/**
 * <p>Special class used to initialize the database when starting the container. The database is only initialized
 * when the collection "UserEntry" is not yet available.</p>
 * <p>We need to check for the display name of the application context since we by default have two using spring-mvc
 * the way we do.</p>
 *

From source file org.cloudfoundry.identity.uaa.test.TestApplicationEventListener.java

public class TestApplicationEventListener<T extends ApplicationEvent> extends TestApplicationEventHandler<T>
        implements ApplicationListener<T> {

    public static <K extends ApplicationEvent> TestApplicationEventListener<K> forEventClass(Class<K> eventType) {
        return new TestApplicationEventListener<K>(eventType) {
        };