List of usage examples for org.springframework.context ApplicationListener interface-usage
From source file org.bigtester.ate.model.data.StepInputDataValue.java
/**
* This class StepInputDataValue retrieve inputdata from db.
*
* @author Peidong Hu
*
*/
From source file com.fortuityframework.spring.broker.SpringEventListenerLocator.java
/**
* EventListenerLocator that uses Spring to find responders to various events.
*
* @author Jeroen Steenbeeke
*
*/
From source file com.aol.advertising.qiao.management.metrics.StatsCollector.java
/** * The StatsCollector object collects statistics metrics periodically. */ @ManagedResource(description = "Metrics Collector") public class StatsCollector implements Runnable, ApplicationListener<StatsControl> { private Logger logger = LoggerFactory.getLogger(this.getClass());
From source file co.za.hendricks.dao.DataLoader.java
/** * * @author aziz */ public class DataLoader implements ApplicationListener<ContextRefreshedEvent> {
From source file org.openwms.tms.state.Starter.java
/** * A Starter. * * @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a> */ //@Transactional(propagation = Propagation.MANDATORY)
From source file org.geoserver.wps.jts.SpringBeanProcessFactory.java
/**
* A {@link ProcessFactory} meant to be declared in a Spring context. It will look in the
* application context for beans implementing the specified marker interface and annotated with
* {@link DescribeProcess}, {@link DescribeParameter} and {@link DescribeResult}. Each bean will
* have a "execute" method taking the process parameters as arguments and returning the results
*/
From source file org.focusns.common.event.support.EventListener.java
ReflectionUtils.invokeMethod(eventHandler, eventSubscriber, eventContext);
}
}
From source file com.ebay.jetstream.event.esper.customaggregate.ESPAggrTest.java
/**
* This test needs 'JETSTREAM_HOME' variable to be set to something like D:\path\EventProcessor
*
* @author snikolaev
*
*/
From source file org.glassmaker.spring.oauth.OAuth2AuthenticationProvider.java
@Component("oAuth2AuthenticationProvider") public class OAuth2AuthenticationProvider implements AuthenticationProvider, ApplicationListener<InteractiveAuthenticationSuccessEvent> { @Autowired protected UserDetailsService userDetailsService;
From source file org.alfresco.bm.test.LifecycleController.java
/**
* Context-aware bean that initializes the application
*
* @author Derek Hulley
* @since 2.0
*/