public class MicronautBeanProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.DisposableBean, org.springframework.context.EnvironmentAware
Modifier and Type | Field and Description |
---|---|
protected List<Class<?>> |
micronautBeanQualifierTypes |
protected DefaultBeanContext |
micronautContext |
Constructor and Description |
---|
MicronautBeanProcessor(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 DefaultBeanContext micronautContext
public MicronautBeanProcessor(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.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware