public abstract class AbstractThrottlingStrategy extends Object implements org.springframework.context.ApplicationContextAware, ThrottlingStrategy
Thread for
execution. This mimics the behavior of the pre-AMD blitz.| Modifier and Type | Field and Description |
|---|---|
protected OmeroContext |
ctx |
protected org.slf4j.Logger |
log |
| Constructor and Description |
|---|
AbstractThrottlingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event)
Handle an application event.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Set the ApplicationContext that this object runs in.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcallInvokerOnRawArgs, callInvokerWithMappedArgs, runnableCall, safeRunnableCallprotected final org.slf4j.Logger log
protected OmeroContext ctx
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
org.springframework.context.ApplicationContextAwareInvoked after population of normal bean properties but before an init callback such
as InitializingBean.afterPropertiesSet()
or a custom init-method. Invoked after ResourceLoaderAware.setResourceLoader(org.springframework.core.io.ResourceLoader),
ApplicationEventPublisherAware.setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher) and
MessageSourceAware, if applicable.
setApplicationContext in interface org.springframework.context.ApplicationContextAwareapplicationContext - the ApplicationContext object to be used by this objectorg.springframework.context.ApplicationContextException - in case of context initialization errorsorg.springframework.beans.BeansException - if thrown by application context methodsBeanInitializationExceptionpublic void onApplicationEvent(org.springframework.context.ApplicationEvent event)
org.springframework.context.ApplicationListeneronApplicationEvent in interface org.springframework.context.ApplicationListenerevent - the event to respond to
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.