List of usage examples for org.springframework.context ApplicationListener interface-usage
From source file com.netflix.spinnaker.orca.eureka.DiscoveryStatusPoller.java
public class DiscoveryStatusPoller implements ApplicationListener<ContextRefreshedEvent> { private final DiscoveryClient discoveryClient; private final long pollingIntervalSeconds; private final Scheduler scheduler; private final ApplicationContext applicationContext;
From source file com.baidu.jprotobuf.pbrpc.spring.meta.RpcMetaExporter.java
/**
* Utility tool class to exporter google protocol buffer proto description file as RPC meta.
*
* @author xiemalin
* @since 2.21
*/
From source file org.cloudfoundry.tools.timeout.TimeoutResourceHttpRequestHandler.java
/** * Factory Bean that creates a {@link ResourceHttpRequestHandler} to serve timeout resources. * * @author Phillip Webb */ public class TimeoutResourceHttpRequestHandler extends ResourceHttpRequestHandler
From source file net.sourceforge.vulcan.spring.BuildEventPluginPublisher.java
public class BuildEventPluginPublisher implements ApplicationListener { List<BuildManagerObserverPlugin> observers = new ArrayList<BuildManagerObserverPlugin>(); public void add(BuildManagerObserverPlugin plugin) { final boolean isMetrics = plugin.getClass().getAnnotation(MetricsPlugin.class) != null;
From source file tv.arte.resteventapi.core.querying.convertion.RestEventApiCustomConvertersLoader.java
/**
* Loads in the conversion service all beans annotated with {@link RestEventApiConverter} and having
* the appropriate type
*
* @author Simeon Petev
* @since 0.1
From source file com.db2eshop.gui.splash.BootSplash.java
/**
* <p>
* BootSplash class.
* </p>
*
* @author Denis Neuling (denisneuling@gmail.com)
From source file com.griddynamics.banshun.web.ScanChildrenHandlerMapping.java
public class ScanChildrenHandlerMapping extends ContextParentAnnotationHandlerMapping implements ApplicationListener<ApplicationEvent> { @SuppressWarnings("unused") private static final Logger log = LoggerFactory.getLogger(ContextParentBean.class); private static final Class<?>[] defaultHandlerMappingClasses = new Class[] { org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping.class,
From source file org.fineract.module.stellar.listener.StellarPaymentEventListener.java
@Component public class StellarPaymentEventListener implements ApplicationListener<StellarPaymentEvent> { private final StellarPaymentEventRepository stellarPaymentEventRepository; private final AccountBridgeRepositoryDecorator accountBridgeRepositoryDecorator; private final Adapter adapter; private final Logger logger;
From source file com.example.config.StartupApplicationListener.java
/** * @author Dave Syer * */ public class StartupApplicationListener implements ApplicationListener<ApplicationReadyEvent>, ApplicationContextAware {
From source file koper.client.DefaultConsumerLauncher.java
/** * @author kk * @since 1.0 */ public class DefaultConsumerLauncher implements ConsumerLauncher, InitializingBean, ApplicationListener<ContextRefreshedEvent> {