Package com.foreach.across.autoconfigure
Class AdminServerAutoConfigurationAdapter
java.lang.Object
com.foreach.across.autoconfigure.AdminServerAutoConfigurationAdapter
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
,org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
@Configuration
@Import({org.springframework.boot.autoconfigure.web.reactive.function.client.WebClientAutoConfiguration.class,de.codecentric.boot.admin.server.config.AdminServerAutoConfiguration.class})
public class AdminServerAutoConfigurationAdapter
extends Object
implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
Modifies the adminHandlerMapping to detect
AdminController
from ancestor contexts as well.- Since:
- 2.0.0
- Author:
- Arne Vandamme
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessBeanDefinitionRegistry
(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) void
postProcessBeanFactory
(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Constructor Details
-
AdminServerAutoConfigurationAdapter
public AdminServerAutoConfigurationAdapter()
-
-
Method Details
-
postProcessBeanDefinitionRegistry
public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) throws org.springframework.beans.BeansException - Specified by:
postProcessBeanDefinitionRegistry
in interfaceorg.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
- Throws:
org.springframework.beans.BeansException
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
postProcessBeanFactory
in interfaceorg.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
- Specified by:
postProcessBeanFactory
in interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
-