Package ca.uhn.fhir.test.utilities
Class UnregisterScheduledProcessor
java.lang.Object
ca.uhn.fhir.test.utilities.UnregisterScheduledProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class UnregisterScheduledProcessor
extends Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
This bean postprocessor disables all scheduled tasks. It is intended
only to be used in unit tests in circumstances where scheduled
tasks cause issues.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnregisterScheduledProcessor(org.springframework.core.env.Environment theEnv) -
Method Summary
Modifier and TypeMethodDescriptionvoidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Field Details
-
SCHEDULING_DISABLED
- See Also:
-
SCHEDULING_DISABLED_EQUALS_TRUE
- See Also:
-
SCHEDULING_DISABLED_EQUALS_FALSE
- See Also:
-
-
Constructor Details
-
UnregisterScheduledProcessor
-
-
Method Details
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor- Throws:
org.springframework.beans.BeansException
-