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.openbaton.nfvo.core.events.EventDispatcher.java

/**
 * This class implements the interface {@Link EventDispatcher} so is in charge of handling
 * the de/registration of a EventEndpoint.
 * <p/>
 * Moreover receives also internal events and dispatches them to the external applications.
 */

From source file tv.arte.resteventapi.core.presentation.decoration.RestEventApiDecorationProvider.java

/**
 * Provides (per class) some decoration info used at serialization time
 * 
 * @author Simeon Petev
 * @since 0.1
 */

From source file org.fineract.module.stellar.listener.FineractPaymentEventListener.java

@Component
public class FineractPaymentEventListener implements ApplicationListener<FineractPaymentEvent> {

    private final AccountBridgeRepositoryDecorator accountBridgeRepositoryDecorator;
    private final FineractPaymentEventRepository fineractPaymentEventRepository;
    private final HorizonServerUtilities horizonServerUtilities;

From source file org.openspaces.esb.mule.pu.OpenSpacesMuleContextLoader.java

/**
 * <code> OpenSpacesMuleContextLoader</code> used for loading Mule configuration that refrenced from PU configuration
 * file.
 *
 * <p>It sets the PU appliction context as the parent of Mule appliction context, giving it the ability to access beans
 * that declerd in the PU appliction context.

From source file org.onebusaway.nyc.core.impl.QueueDataFeedImpl.java

public class QueueDataFeedImpl extends InferenceQueueListenerTask
        implements ApplicationListener<ContextRefreshedEvent> {

    protected static Logger _log = LoggerFactory.getLogger(QueueDataFeedImpl.class);

    private String _localHost = null;

From source file com.example.app.config.MyAppConfig.java

/**
 * Example configuration class.
 *
 * @author Russ Tennant (russ@i2rd.com)
 */
@SuppressWarnings("SameReturnValue")

From source file co.com.estacionsannicolas.initializer.SeedDataInitializer.java

@Component
public class SeedDataInitializer implements ApplicationListener<ContextRefreshedEvent> {

    public static final int NUMBER_OF_CODES_TO_CREATE = 1000;
    public static final GenderEnum[] GENDERS = GenderEnum.values();
    public static final String[] COMMON_FEMALE_NAMES = new String[] { "Martina", "Sofia", "Florencia", "Valentina",

From source file de.codecentric.batch.configuration.BatchWebAutoConfiguration.java

/**
 * This configuration class will be picked up by Spring Boot's auto configuration capabilities as soon as it's
 * on the classpath.
 *
 * <p>
 * It enables batch processing, imports the batch infrastructure configuration ({@link TaskExecutorBatchConfigurer} and imports the web endpoint

From source file net.zcarioca.zcommons.config.spring.ConfigurationInjectionPostProcessor.java

/**
 * This is the Spring Post Processor which implements the configuration
 * injection. It can be easily inserted into your Application Context as
 * follows:
 * 
 * <pre>

From source file org.geoserver.wps.DeprecatedProcessFactory.java

/**
 * Process factory that maintains backward compatibility for deprecated process names.
 * 
 * @author Justin Deoliveira, OpenGeo
 *
 */