Class ErrorPageRegistrarBeanPostProcessor
java.lang.Object
org.springframework.boot.web.server.ErrorPageRegistrarBeanPostProcessor
- All Implemented Interfaces:
Aware
,BeanFactoryAware
,BeanPostProcessor
public class ErrorPageRegistrarBeanPostProcessor
extends Object
implements BeanPostProcessor, BeanFactoryAware
BeanPostProcessor
that applies all ErrorPageRegistrar
s from the bean
factory to ErrorPageRegistry
beans.- Since:
- 2.0.0
- Author:
- Phillip Webb, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpostProcessAfterInitialization
(Object bean, String beanName) postProcessBeforeInitialization
(Object bean, String beanName) void
setBeanFactory
(BeanFactory beanFactory)
-
Constructor Details
-
ErrorPageRegistrarBeanPostProcessor
public ErrorPageRegistrarBeanPostProcessor()
-
-
Method Details
-
setBeanFactory
- Specified by:
setBeanFactory
in interfaceBeanFactoryAware
-
postProcessBeforeInitialization
- Specified by:
postProcessBeforeInitialization
in interfaceBeanPostProcessor
- Throws:
BeansException
-
postProcessAfterInitialization
- Specified by:
postProcessAfterInitialization
in interfaceBeanPostProcessor
- Throws:
BeansException
-