Package io.micronaut.spring.boot.starter
Class MicronautImportRegistrar
java.lang.Object
io.micronaut.spring.boot.starter.MicronautImportRegistrar
- All Implemented Interfaces:
 org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.context.annotation.ImportBeanDefinitionRegistrar,org.springframework.context.EnvironmentAware
@Internal
@AutoConfigureOrder(2147483647)
public final class MicronautImportRegistrar
extends Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
An 
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().
- Since:
 - 4.3.0
 - Author:
 - graemerocher
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidregisterBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, org.springframework.beans.factory.support.BeanNameGenerator importBeanNameGenerator) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) voidsetEnvironment(org.springframework.core.env.Environment environment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions 
- 
Constructor Details
- 
MicronautImportRegistrar
public MicronautImportRegistrar() 
 - 
 - 
Method Details
- 
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry, org.springframework.beans.factory.support.BeanNameGenerator importBeanNameGenerator) - Specified by:
 registerBeanDefinitionsin interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
 - 
setEnvironment
public void setEnvironment(org.springframework.core.env.Environment environment) - Specified by:
 setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
 - 
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
 
 -