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 grails.plugin.springsecurity.SecurityEventListener.java

/**
 * Registers as an event listener and delegates handling of security-related events
 * to optional closures defined in Config.groovy.
 * <p/>
 * The following callbacks are supported:<br/>
 * <ul>

From source file org.wallride.autoconfigure.WallRideInitializer.java

public class WallRideInitializer implements ApplicationListener<ApplicationStartedEvent> {

    /**
     * @see ConfigFileApplicationListener#DEFAULT_SEARCH_LOCATIONS
     */
    private static final String DEFAULT_CONFIG_SEARCH_LOCATIONS = "classpath:/,classpath:/config/,file:./,file:./config/";

From source file com.erinors.hpb.server.serviceimpl.PersistentObjectManagerImpl.java

/**
 * @author Norbert Sndor
 */
@Service
public class PersistentObjectManagerImpl
        implements PersistentObjectManager, BeanFactoryAware, ApplicationListener<ContextRefreshedEvent> {

From source file org.bigtester.ate.model.data.AutoIncrementalDataHolder.java

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

From source file sample.SampleController.java

/**
 * @author Spencer Gibb
 */
@RestController
public class SampleController implements ApplicationListener<EmbeddedServletContainerInitializedEvent> {

From source file io.lavagna.service.Scheduler.java

/**
 * Simple scheduler. Note: it's not cluster aware.
 */
public class Scheduler implements ApplicationListener<DatabaseMigrationDoneEvent> {

    private static final Logger LOG = LogManager.getLogger();

From source file com.bao.sample.SampleController.java

/**
 * @author Spencer Gibb
 */
@RestController
public class SampleController implements ApplicationListener<EmbeddedServletContainerInitializedEvent> {

From source file pl.com.bottega.ecommerce.system.saga.impl.SpringSagaRegistry.java

/**
 * @author Rafa Jamrz
 */
@SuppressWarnings({ "rawtypes" })
@Component
public class SpringSagaRegistry implements SagaRegistry, ApplicationListener<ContextRefreshedEvent> {

From source file com.helpinput.spring.support.SourceFileMonitorListener.java

public class SourceFileMonitorListener implements ApplicationListener<ContextRefreshedEvent> {
    static Logger logger = LoggerBase.logger;
    SourceFileMonitor monitor = null;

    private List<String> dirs = null;

From source file org.bitcoinrt.server.ConnectionBroker.java

/**
 * Serves as a registry for connected clients.
 *
 * @author Gunnar Hillert
 * @since 1.0
 *