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 sample.SampleService.java

/**
 * @author Dave Syer
 *
 */
@MessageEndpoint
public class SampleService implements ApplicationListener<EmbeddedServletContainerInitializedEvent> {

From source file fr.univrouen.poste.provider.AuthenticationFailureListener.java

@Component
public class AuthenticationFailureListener
        implements ApplicationListener<AuthenticationFailureBadCredentialsEvent> {

    @Override
    @Transactional

From source file com.courtalon.gigaMvcGalerie.utils.DatabaseInitialiser.java

public class DatabaseInitialiser implements ApplicationListener<ContextRefreshedEvent> {

    private static final Logger log = LogManager.getLogger(DatabaseInitialiser.class);

    @Autowired
    private TagRepository tagRepository;

From source file com.github.nbyl.xfdcontrol.service.status.StatusDispatcher.java

@Component
public class StatusDispatcher implements ApplicationListener<JobStatusEvent> {

    private static final Logger LOGGER = LoggerFactory.getLogger(StatusDispatcher.class);

    @Autowired

From source file org.cloudfoundry.reconfiguration.spring.CloudProfileApplicationListener.java

/**
 * A String Boot {@link ApplicationListener} that applies the {@code cloud} profile
 */
public final class CloudProfileApplicationListener
        implements ApplicationListener<ApplicationEnvironmentPreparedEvent>, Ordered {

From source file org.grails.plugin.platform.events.publisher.GormBridgePublisher.java

/**
 * @author Stephane Maldini <smaldini@vmware.com>
 * @version 1.0
 * @file
 * @date 29/05/12
 * @section DESCRIPTION

From source file org.granite.client.tide.spring.SpringEventBus.java

/**
 * @author William DRAI
 */
public class SpringEventBus extends SimpleEventBus
        implements ApplicationContextAware, ApplicationListener<TideApplicationEvent> {

From source file org.cloudfoundry.identity.uaa.event.listener.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
 */

From source file com.agileapes.webexport.decorate.Decorator.java

/**
 * This class denotes the concept of Decorator as described in the white paper.
 *
 * @author Mohammad Milad Naseri (m.m.naseri@gmail.com)
 * @since 1.0 (2013/2/13, 16:09)
 */

From source file com.antuansoft.spring.mvc.QuoteService.java

@Service
public class QuoteService implements ApplicationListener<BrokerAvailabilityEvent> {

    private static Log logger = LogFactory.getLog(QuoteService.class);

    private final MessageSendingOperations<String> messagingTemplate;