List of usage examples for org.springframework.context ApplicationListener interface-usage
From source file es.galvarez.rest.config.DBInitializerApplicationStartupListener.java
/** * @author Gonzalo Alvarez * */ public class DBInitializerApplicationStartupListener implements ApplicationListener<ContextRefreshedEvent> {
From source file org.openwms.core.uaa.SecurityContextUserServiceImpl.java
/**
* A SecurityContextUserServiceImpl extends Spring {@link UserDetailsService} to
* read <code>User</code>s and <code>Role</code>s from the persistent storage
* and wraps them into security objects.
*
* @author <a href="mailto:russelltina@users.sourceforge.net">Tina Russell</a>
From source file com.glaf.core.jdbc.datasource.MultiRoutingDataSource.java
public class MultiRoutingDataSource extends AbstractRoutingDataSource implements ApplicationListener<ContextRefreshedEvent> { protected final static Log logger = LogFactory.getLog(MultiRoutingDataSource.class); private static volatile ConcurrentMap<Object, Object> targetDataSources = new ConcurrentHashMap<Object, Object>();
From source file am.ik.ws.colordic.app.bootstrap.SampleDataProvider.java
/**
* Spring component to populate the configured {@link DataSource} with the
* sample data SQL file (see {@code src/main/resources/data.sql}) if the
* application is started with the {@code with-data} profile being active.
*
* @author Oliver Gierke
From source file org.openbaton.common.vnfm_sdk.amqp.AbstractVnfmSpringAmqp.java
/** * Created by lto on 28/05/15. */ @SpringBootApplication @ComponentScan(basePackages = "org.openbaton") @ConfigurationProperties
From source file com.zz.cluster4spring.registry.support.ex.DefaultConsumingRegistry.java
/**
* Default implementation of
* {@link com.zz.cluster4spring.registry.ConsumingRegistry}. It issues network
* notifications when item for given key should be requested or given item
* should be invalidated. To isolate details of network communication, it
* delegates the actual details of network communication to corresponding
From source file com.example.app.config.ProjectConfig.java
/** * Project Configuration. * * @author Russ Tennant (russ@venturetech.net) */ @SuppressWarnings({ "SameReturnValue" })
From source file org.openmrs.module.casereport.HealthInfoExchangeListener.java
/*** * An instance of this class listens for event fired when a case report is submitted so that it can * generate and submit a CDA message to the HIE */ @Component public class HealthInfoExchangeListener implements ApplicationListener<CaseReportSubmittedEvent> {
From source file to.sparks.mtgox.service.WebsocketClientService.java
/** * * @author SparksG */ class WebsocketClientService implements Runnable, MtGoxWebsocketClient, ApplicationEventPublisherAware, ApplicationListener<PacketEvent> {
From source file eionet.gdem.web.listeners.AppServletContextListener.java
public void contextInitialized(ServletContextEvent servletContextEvent) { System.out.println("Application started !"); try { Properties.metaXSLFolder = servletContextEvent.getServletContext().getRealPath("/dcm"); Properties.convFile = servletContextEvent.getServletContext().getRealPath("/dcm/conversions.xml");