BeanFactoryInitializationAotProcessor implementation that processes
RuntimeHintsRegistrar implementations declared as
spring.factories or using
@ImportRuntimeHints annotated configuration
classes or bean methods.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private Set | |
| private Set | |
| public BeanFactoryInitializationAotContribution | processAheadOfTime(ConfigurableListableBeanFactory
the bean factory to process beanFactory)Implements org. Process the given |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| RuntimeHintsBeanFactoryInitializationAotProcessor | back to summary |
|---|---|
| pack-priv RuntimeHintsBeanFactoryInitializationAotProcessor() | |
| extractFromBeanDefinition | back to summary |
|---|---|
| private Set | |
| extractFromBeanFactory | back to summary |
|---|---|
| private Set | |
| processAheadOfTime | back to summary |
|---|---|
| public BeanFactoryInitializationAotContribution processAheadOfTime(ConfigurableListableBeanFactory beanFactory) Implements org. Doc from org. Process the given Processors are free to use any techniques they like to analyze the given bean factory. Most typically use reflection to find fields or methods to use in the contribution. Contributions typically generate source code or resource files that can be used when the AOT optimized application runs. If the given bean factory does not contain anything that is relevant to
the processor, this method should return a
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ClassLoader | |
| private final Iterable |
| Access | Constructor and Description |
|---|---|
| pack-priv | RuntimeHintsRegistrarContribution(Iterable<RuntimeHintsRegistrar> registrars, ClassLoader beanClassLoader)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTo(GenerationContext
the active generation context generationContext, BeanFactoryInitializationCode the bean factory initialization code beanFactoryInitializationCode)Implements org. Apply this contribution to the given |
| beanClassLoader | back to summary |
|---|---|
| private final ClassLoader beanClassLoader
| |
| registrars | back to summary |
|---|---|
| private final Iterable<RuntimeHintsRegistrar> registrars | |
| RuntimeHintsRegistrarContribution | back to summary |
|---|---|
| pack-priv RuntimeHintsRegistrarContribution(Iterable<RuntimeHintsRegistrar> registrars, ClassLoader beanClassLoader) | |
| applyTo | back to summary |
|---|---|
| public void applyTo(GenerationContext generationContext, BeanFactoryInitializationCode beanFactoryInitializationCode) Implements org. Doc from org. Apply this contribution to the given
| |