public class MicronautBeanProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.context.EnvironmentAware
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Class<?>> |
micronautBeanQualifierTypes |
protected io.micronaut.context.DefaultBeanContext |
micronautContext |
| Constructor and Description |
|---|
MicronautBeanProcessor(java.lang.Class<?>... qualifierTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
protected io.micronaut.context.DefaultBeanContext micronautContext
protected final java.util.List<java.lang.Class<?>> micronautBeanQualifierTypes
public MicronautBeanProcessor(java.lang.Class<?>... qualifierTypes)
qualifierTypes - The types associated with the
Micronaut beans which should be added to the
Spring application 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 destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exceptionpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAware