BeanPostProcessor that honours ImportAware callback using
a mapping computed at build time.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final MetadataReaderFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public int | |
| public Object | postProcessBeforeInitialization(Object
the new bean instance bean, String the name of the bean beanName)Overrides default org. BeanPostProcessor to the given new bean instance before any bean
initialization callbacks (like InitializingBean's afterPropertiesSet
or a custom init-method).
|
| private void |
| importsMapping | back to summary |
|---|---|
| private final Map<String, String> importsMapping | |
| metadataReaderFactory | back to summary |
|---|---|
| private final MetadataReaderFactory metadataReaderFactory | |
| ImportAwareAotBeanPostProcessor | back to summary |
|---|---|
| public ImportAwareAotBeanPostProcessor(Map<String, String> importsMapping) | |
| getImportingClassFor | back to summary |
|---|---|
private String getImportingClassFor(ImportAware instance)
| |
| getOrder | back to summary |
|---|---|
| public int getOrder() Implements org. Doc from org. Get the order value of this object. Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet Same order values will result in arbitrary sort positions for the affected objects.
| |
| postProcessBeforeInitialization | back to summary |
|---|---|
| public Object postProcessBeforeInitialization(Object bean, String beanName) Overrides default org. Doc from org. Apply this The default implementation returns the given | |
| setAnnotationMetadata | back to summary |
|---|---|
| private void setAnnotationMetadata(ImportAware instance) | |