Class OpenApiFeatureBeanPostProcessor
- java.lang.Object
-
- org.apache.cxf.spring.boot.autoconfigure.openapi.OpenApiFeatureBeanPostProcessor
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.config.BeanPostProcessor
public class OpenApiFeatureBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware
Post-processes all OpenApiFeature beans in order to inject the instance of OpenApiCustomizer (if it is not set yet). For Spring / Spring Boot applications it is what you would need to do manually most of the time.
-
-
Constructor Summary
Constructors Constructor Description OpenApiFeatureBeanPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectpostProcessAfterInitialization(Object bean, String beanName)voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
-
-
-
Method Detail
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor- Throws:
org.springframework.beans.BeansException
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
-