BeanFactoryInitializationAotProcessor that detects the presence
of @Reflective on annotated elements of all registered
beans and invokes the underlying ReflectiveProcessor implementations.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final ReflectiveRuntimeHintsRegistrar |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BeanFactoryInitializationAotContribution | processAheadOfTime(ConfigurableListableBeanFactory
the bean factory to process beanFactory)Implements org. ConfigurableListableBeanFactory instance
ahead-of-time and return a contribution or null.
|
| REGISTRAR | back to summary |
|---|---|
| private static final ReflectiveRuntimeHintsRegistrar REGISTRAR | |
| ReflectiveProcessorBeanFactoryInitializationAotProcessor | back to summary |
|---|---|
| pack-priv ReflectiveProcessorBeanFactoryInitializationAotProcessor() | |
| 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
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTo(GenerationContext
the active generation context generationContext, BeanFactoryInitializationCode the bean factory initialization code beanFactoryInitializationCode)Implements org. BeanFactoryInitializationCode.
|
| types | back to summary |
|---|---|
| private final Class<?>[] types | |
| ReflectiveProcessorBeanFactoryInitializationAotContribution | back to summary |
|---|---|
| public ReflectiveProcessorBeanFactoryInitializationAotContribution(Class<?>[] types) | |
| applyTo | back to summary |
|---|---|
| public void applyTo(GenerationContext generationContext, BeanFactoryInitializationCode beanFactoryInitializationCode) Implements org. Doc from org. Apply this contribution to the given
| |