Class NativeConfigurationRegistrar
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeConfigurationRegistrar
-
public class NativeConfigurationRegistrar extends java.lang.Object
Register native configuration using processors detected on the classpath. BothBeanFactoryNativeConfigurationProcessor
andBeanNativeConfigurationProcessor
are 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 java.util.List<BeanNativeConfigurationProcessor>
loadBeanProcessors(ConfigurableListableBeanFactory beanFactory)
void
processBeanFactory(NativeConfigurationRegistry registry)
Process the bean factory against the specifiedNativeConfigurationRegistry
.void
processBeans(NativeConfigurationRegistry registry, java.lang.Iterable<BeanInstanceDescriptor> beans)
Process thebean instance descriptors
against 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, java.lang.Iterable<BeanInstanceDescriptor> beans)
Process thebean instance descriptors
against the specifiedNativeConfigurationRegistry
.- Parameters:
registry
- the registry to usebeans
- the bean instance descriptors
-
loadBeanProcessors
protected java.util.List<BeanNativeConfigurationProcessor> loadBeanProcessors(ConfigurableListableBeanFactory beanFactory)
-
-