BeanRegistrationAotProcessor that detects the presence of
classes compiled with AspectJ and adds the related required field hints.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public BeanRegistrationAotContribution | processAheadOfTime(RegisteredBean
the registered bean to process registeredBean)Implements org. RegisteredBean instance ahead-of-time and
return a contribution or null.
|
| aspectjPresent | back to summary |
|---|---|
| private static final boolean aspectjPresent | |
| AspectJAdvisorBeanRegistrationAotProcessor | back to summary |
|---|---|
| pack-priv AspectJAdvisorBeanRegistrationAotProcessor() | |
| processAheadOfTime | back to summary |
|---|---|
| public BeanRegistrationAotContribution processAheadOfTime(RegisteredBean registeredBean) Implements org. Doc from org. Process the given Processors are free to use any techniques they like to analyze the given instance. 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 instance isn't relevant to the processor, it should return a
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTo(GenerationContext
the generation context generationContext, BeanRegistrationCode the generated registration beanRegistrationCode)Implements org. BeanRegistrationCode.
|
| beanClass | back to summary |
|---|---|
| private final Class<?> beanClass | |
| AspectJAdvisorContribution | back to summary |
|---|---|
| public AspectJAdvisorContribution(Class<?> beanClass) | |
| applyTo | back to summary |
|---|---|
| public void applyTo(GenerationContext generationContext, BeanRegistrationCode beanRegistrationCode) Implements org. Doc from org. Apply this contribution to the given
| |