@Internal
@AutoConfigureOrder(value=2147483647)
public final class MicronautImportRegistrar
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
ImportBeanDefinitionRegistrar
that exposes all Micronaut beans as Spring beans using EnableMicronaut
.
The beans to be exposed can be limited by a MicronautBeanFilter
configured via EnableMicronaut.filter()
.
Constructor and Description |
---|
MicronautImportRegistrar() |
Modifier and Type | Method and Description |
---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry,
org.springframework.beans.factory.support.BeanNameGenerator importBeanNameGenerator) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, org.springframework.beans.factory.support.BeanNameGenerator importBeanNameGenerator)
registerBeanDefinitions
in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException