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.springsource.restbucks.processing.OrderProcessor.java

/**
 * Simple {@link ApplicationListener} implementation that listens to {@link OrderPaidEvent}s marking the according
 * {@link Order} as in process, sleeping for 10 seconds and marking the order as processed right after that.
 * 
 * @author Oliver Gierke
 */

From source file org.lightadmin.logging.configurer.logback.AppenderInitializingApplicationListener.java

/**
 * TODO: Document me!
 *
 * @author Maxim Kharchenko (kharchenko.max@gmail.com)
 */
public class AppenderInitializingApplicationListener implements ApplicationListener<ContextRefreshedEvent> {

From source file my.school.spring.beans.PostProxyInvokerContextListener.java

/**
 *
 * @author skrymets
 */
@Component
public class PostProxyInvokerContextListener implements ApplicationListener<ContextRefreshedEvent> {

From source file edu.teilar.jcrop.service.event.KObjectBuildNotifier.java

/**
 * To receive the KObjectBuildEvent
 * 
 * One the begining of the app, there is no need to wait and to build all available
 * kobjects. This notifier will call for the building of a kobject (xmodel, xgraph) 
 * upon request. 

From source file com.frank.search.solr.core.schema.SolrPersistentEntitySchemaCreator.java

/**
 * @author Christoph Strobl
 * @since 1.3
 */
public class SolrPersistentEntitySchemaCreator implements ApplicationListener<MappingContextEvent<?, ?>> {

From source file org.archive.crawler.framework.CrawlLimitEnforcer.java

/**
 * Bean to enforce limits on the size of a crawl in URI count,
 * byte count, or elapsed time. Fires off the StatSnapshotEvent,
 * so only checks at the interval (configured in StatisticsTracker)
 * of those events. 
 * 

From source file io.fabric8.zipkin.examples.helloworld.HelloController.java

@RestController
public class HelloController implements ApplicationListener<EmbeddedServletContainerInitializedEvent> {

    private int port;

    @Autowired

From source file org.lightadmin.core.persistence.repository.event.ManagedRepositoryEventListener.java

/**
 * TODO: Document me!
 *
 * @author Maxim Kharchenko (kharchenko.max@gmail.com)
 */
public abstract class ManagedRepositoryEventListener implements ApplicationListener<RepositoryEvent> {

From source file com.orange.mmp.core.ApplicationController.java

/**
 * Main entry point of MMP application this component
 * is aimed to control components behavior depending on
 * application state.
 * 
 * TODO Evolution P3 - Implement true orchestration features

From source file com.launchkey.example.springmvc.EventHandler.SessionDestroyedEventHandler.java

@Component
public class SessionDestroyedEventHandler
        implements ApplicationListener<SessionDestroyedEvent>, LogoutSuccessHandler {
    private final Logger logger = LoggerFactory.getLogger(getClass());
    private final AuthManager authManager;