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.bigtester.ate.model.casestep.IRepeatStepExecutionLogger.java

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

From source file org.geomajas.gwt.server.GeomajasServiceImpl.java

/**
 * Geomajas GWT service, implements communication between GWT face and back-end.
 * 
 * @author Pieter De Graef
 * @author Joachim Van der Auwera
 * @author Jan De Moerloose

From source file ch.rasc.wampspring.session.WebSocketRegistryListener.java

/**
 * <p>
 * Keeps track of mapping the Spring Session ID to the {@link WebSocketSession} and
 * ensuring when a {@link SessionDestroyedEvent} is fired that the
 * {@link WebSocketSession} is closed.
 * </p>

From source file org.openwms.core.startup.LocalServiceInitializer.java

/**
 * A LocalServiceInitializer fires {@link MergePropertiesEvent}s whenever the bundle is started or restarted.
 *
 * @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a>
 * @version 0.2
 * @since 0.1

From source file com.clicktravel.cheddar.infrastructure.messaging.router.MessageRouter.java

public class MessageRouter implements MessageHandler<TypedMessage>, ApplicationListener<ContextRefreshedEvent> {

    private final Logger logger = LoggerFactory.getLogger(getClass());
    private final Map<String, Set<MessageSender<TypedMessage>>> routes = new HashMap<>();;
    private final TypedMessageListener typedMessageListener;

From source file springfox.documentation.schema.property.ObjectMapperBeanPropertyNamingStrategy.java

/**
 * BeanPropertyNamingStrategy based on ObjectMapper naming strategy.
 * Uses {@link com.fasterxml.jackson.databind.PropertyNamingStrategy} to name.
 * In case it cannot get information from property's getter or field, it returns the same current name.
 */
@Component

From source file com.devnexus.ting.core.applicationlistener.SecurityEventListener.java

public class SecurityEventListener implements ApplicationListener<AbstractAuthenticationEvent> {

    @Autowired
    private UserService userService;

    /**

From source file com.example.app.profile.model.membership.MembershipTypeProvider.java

/**
 * Configuration that provides MembershipTypes.
 *
 * @author Alan Holt (aholt@venturetech.net)
 */
@Configuration

From source file com.brienwheeler.apps.main.ContextClosingBean.java

public class ContextClosingBean implements ApplicationListener<ContextRefreshedEvent> {
    @Override
    public void onApplicationEvent(ContextRefreshedEvent event) {
        ((AbstractApplicationContext) event.getApplicationContext()).close();
    }
}

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

/**
 * {@link ApplicationListener} for {@link AbstractAppointmentEvent}s that
 * integrates with the {@link ReminderService}.
 * 
 * @author Nicholas Blair
 * @version $Id: ReminderServiceApplicationListener.java 3101 2011-02-28 18:42:05Z npblair $