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.openwms.wms.shipping.ShippingOrderStarter.java

/**
 * A ShippingOrderStarter.
 *
 * @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a>
 * @version $Revision: $
 * @since 0.1

From source file org.zenoss.zep.index.impl.EventIndexerImpl.java

public class EventIndexerImpl implements EventIndexer, ApplicationListener<ZepConfigUpdatedEvent> {
    private static final Logger logger = LoggerFactory.getLogger(EventIndexerImpl.class);

    private final Object lock = new Object();
    private volatile boolean shutdown = false;
    private Future<?> indexFuture = null;

From source file eu.eidas.node.auth.metadata.NODEFileMetadataProcessor.java

import eu.eidas.auth.engine.xml.opensaml.SAMLBootstrap;
import eu.eidas.impl.file.FileService;

/**
 * implements metadata cache
 * the source metadata: all readable xml files found in a configured directory

From source file alfio.manager.plugin.PluginManager.java

@Component
@Order
public class PluginManager implements ApplicationListener<ContextRefreshedEvent> {

    private final List<Plugin> plugins;
    private final PluginConfigurationRepository pluginConfigurationRepository;

From source file net.przemkovv.sphinx.config.PopulateDatabaseOnStartup.java

/**
 *
 * @author Przemyslaw Walkowiak <przemyslaw.walkowiak@put.poznan.pl>
 */
@Component
@Transactional

From source file com.ebay.jetstream.esper.annotations.TestCustomAnnotation.java

@ManagedResource(objectName = "ESPTest", description = "EsperEventProcessor Unit Test")
public class TestCustomAnnotation extends AbstractEventSource
        implements ApplicationListener, InitializingBean, ApplicationEventPublisherAware {

    static class ESPTestThreadFactory implements ThreadFactory {

From source file org.jasig.irclog.ChannelLogger.java

/**
 * Handles filtering, logging, queuing and flushing events for a specific IRC channel.
 * 
 * @author Eric Dalquist
 * @version $Revision$
 */

From source file org.mifos.module.sms.listener.CreateClientEventListener.java

@Component
public class CreateClientEventListener implements ApplicationListener<CreateClientEvent> {

    @Value("${message.template.createclient}")
    private String messageTemplate;

From source file com.betfair.cougar.core.impl.ev.ServiceRegisterableExecutionVenue.java

/**
 * Implementation of ExecutionVenue which facilitates service registration.
 *
 */
public class ServiceRegisterableExecutionVenue extends BaseExecutionVenue
        implements ApplicationListener, ServiceRegistrar {

From source file com.alacoder.lion.rpc.springsupport.ServiceConfigBean.java

public class ServiceConfigBean<T> extends ServiceConfig<T> implements BeanPostProcessor, BeanFactoryAware,
        InitializingBean, DisposableBean, ApplicationListener<ContextRefreshedEvent> {

    private static final long serialVersionUID = -7247592395983804440L;

    private transient BeanFactory beanFactory;