Class NativeConfigurationRegistrar
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeConfigurationRegistrar
-
public class NativeConfigurationRegistrar extends Object
Register native configuration using processors detected on the classpath. BothBeanFactoryNativeConfigurationProcessorandBeanNativeConfigurationProcessorare handled.- Author:
- Stephane Nicoll
-
-
Constructor Summary
Constructors Constructor Description NativeConfigurationRegistrar(ConfigurableListableBeanFactory beanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<BeanNativeConfigurationProcessor>loadBeanProcessors(ConfigurableListableBeanFactory beanFactory)voidprocessBeanFactory(NativeConfigurationRegistry registry)Process the bean factory against the specifiedNativeConfigurationRegistry.voidprocessBeans(NativeConfigurationRegistry registry, Iterable<BeanInstanceDescriptor> beans)Process thebean instance descriptorsagainst the specifiedNativeConfigurationRegistry.
-
-
-
Constructor Detail
-
NativeConfigurationRegistrar
public NativeConfigurationRegistrar(ConfigurableListableBeanFactory beanFactory)
-
-
Method Detail
-
processBeanFactory
public void processBeanFactory(NativeConfigurationRegistry registry)
Process the bean factory against the specifiedNativeConfigurationRegistry.- Parameters:
registry- the registry to use
-
processBeans
public void processBeans(NativeConfigurationRegistry registry, Iterable<BeanInstanceDescriptor> beans)
Process thebean instance descriptorsagainst the specifiedNativeConfigurationRegistry.- Parameters:
registry- the registry to usebeans- the bean instance descriptors
-
loadBeanProcessors
protected List<BeanNativeConfigurationProcessor> loadBeanProcessors(ConfigurableListableBeanFactory beanFactory)
-
-