Example usage for Java org.springframework.context.annotation ConfigurationClass fields, constructors, methods, implement or subclass
The text is from its open source code.
ConfigurationClass(MetadataReader metadataReader, String beanName) Create a new ConfigurationClass with the given name. | |
ConfigurationClass(MetadataReader metadataReader, @Nullable ConfigurationClass importedBy) Create a new ConfigurationClass representing a class that was imported using the Import annotation or automatically processed as a nested configuration class (if importedBy is not null ). | |
ConfigurationClass(Class> clazz, String beanName) Create a new ConfigurationClass with the given name. | |
ConfigurationClass(Class> clazz, @Nullable ConfigurationClass importedBy) Create a new ConfigurationClass representing a class that was imported using the Import annotation or automatically processed as a nested configuration class (if imported is true ). | |
ConfigurationClass(AnnotationMetadata metadata, String beanName) Create a new ConfigurationClass with the given name. |
void | addBeanMethod(BeanMethod method) |
void | addImportBeanDefinitionRegistrar(ImportBeanDefinitionRegistrar registrar, AnnotationMetadata importingClassMetadata) |
void | addImportedResource(String importedResource, Class extends BeanDefinitionReader> readerClass) |
Set | getBeanMethods() |
String | getBeanName() |
Map | getImportBeanDefinitionRegistrars() |
Map | getImportedResources() |
AnnotationMetadata | getMetadata() |
Resource | getResource() |
boolean | isImported() Return whether this configuration class was registered via @ Import or automatically registered due to being nested within another configuration class. |
void | mergeImportedBy(ConfigurationClass otherConfigClass) Merge the imported-by declarations from the given configuration class into this one. |
void | setBeanName(String beanName) |
void | validate(ProblemReporter problemReporter) |