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.vaadin.spring.events.internal.ApplicationContextEventBroker.java

/**
 * An {@link org.springframework.context.ApplicationListener} that will forward all received events to an {@link org.vaadin.spring.events.EventBus}.
 *
 * @author Petter Holmstrm (petter@vaadin.com)
 */
public class ApplicationContextEventBroker implements ApplicationListener<ApplicationEvent> {

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

/**
 * Used to maintain the current configuration for the indexed event details.
 */
public class IndexedDetailsConfigurationImpl implements IndexedDetailsConfiguration,
        ApplicationListener<IndexDetailsUpdatedEvent>, ApplicationEventPublisherAware {

From source file com.jeanchampemont.notedown.ApplicationStartup.java

@Component
public class ApplicationStartup implements ApplicationListener<ContextRefreshedEvent> {

    private NoteRepository noteRepository;

    private UserService userService;

From source file com.codecrate.shard.ui.event.commandbus.SpecificApplicationEventActionCommandExecutor.java

public class SpecificApplicationEventActionCommandExecutor extends AbstractSpecificApplicationEventListener
        implements ApplicationListener {
    private static final Log LOG = LogFactory.getLog(SpecificApplicationEventActionCommandExecutor.class);

    private final ParameterizableActionCommandExecutor delegate;

From source file org.smigo.user.authentication.AuthenticationSuccessListener.java

@Component
class AuthenticationSuccessListener implements ApplicationListener<InteractiveAuthenticationSuccessEvent> {
    private final Logger log = LoggerFactory.getLogger(getClass());

    @Override
    public void onApplicationEvent(InteractiveAuthenticationSuccessEvent event) {

From source file com.wms.multitenant.tenant.provider.MultiTenantConnectionProviderImpl.java

/**
 *
 * @author Mazen
 * @company WeMake{}Stuff
 */
@Component

From source file com.netflix.spinnaker.igor.NoDiscoveryApplicationStatusPublisher.java

public class NoDiscoveryApplicationStatusPublisher implements ApplicationListener<ContextRefreshedEvent> {

    private static final Logger log = LoggerFactory.getLogger(NoDiscoveryApplicationStatusPublisher.class);

    private final ApplicationEventPublisher publisher;

From source file com.epam.ta.reportportal.events.handler.DumpInitialInformationEventHandler.java

/**
 * 
 * @author Andrei Varabyeu
 * 
 */
@Component

From source file org.jasig.schedassist.impl.events.AvailableScheduleChangedApplicationListener.java

/**
 * {@link ApplicationListener} for {@link AvailableScheduleChangedEvent}s.
 * 
 * @see AvailableScheduleReflectionService#reflectAvailableSchedule(org.jasig.schedassist.model.IScheduleOwner)
 * @author Nicholas Blair, nblair@doit.wisc.edu
 * @version $Id: AvailableScheduleChangedApplicationListener.java 2832 2010-11-02 17:07:37Z npblair $

From source file io.curly.artifact.integration.event.CreatedArtifactEventHandler.java

/**
 * @author Joo Evangelista
 */
@Slf4j
@Component
class CreatedArtifactEventHandler implements ApplicationListener<CreatedArtifactEvent> {