public static class Issue866Configuration.TestHook extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
executed
Whether the hook was called.
|
| Constructor and Description |
|---|
TestHook(org.springframework.context.ConfigurableApplicationContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
public TestHook(org.springframework.context.ConfigurableApplicationContext context)
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessorpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2021 Pivotal Software, Inc.. All rights reserved.