public class MicronautBeanProcessor extends java.lang.Object implements BeanFactoryPostProcessor, DisposableBean, EnvironmentAware
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.Class<?>> |
micronautBeanQualifierTypes |
protected DefaultBeanContext |
micronautContext |
Constructor and Description |
---|
MicronautBeanProcessor(java.lang.Class<?>... qualifierTypes) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
void |
setEnvironment(Environment environment) |
protected 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(ConfigurableListableBeanFactory beanFactory) throws BeansException
postProcessBeanFactory
in interface BeanFactoryPostProcessor
BeansException
public void destroy() throws java.lang.Exception
destroy
in interface DisposableBean
java.lang.Exception
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware