Configuration classes.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | CANDIDATE_ATTRIBUTE
When set to |
| private static final Set | |
| pack-priv static final String | |
| pack-priv static final String | |
| pack-priv static final String | |
| private static final Log | |
| pack-priv static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static boolean | Returns: whether the candidate qualifies as (any kind of) configuration classthe bean definition to check beanDef, MetadataReaderFactory the current factory in use by the caller metadataReaderFactory)Check whether the given bean definition is a candidate for a configuration class (or a nested component class declared within a configuration/component class, to be auto-registered as well), and mark it accordingly. |
| public static Integer | Returns: the@Order annotation value on the configuration class,
or Ordered.LOWEST_PRECEDENCE if none declaredthe metadata of the annotated class metadata)Determine the order for the given configuration class metadata. |
| public static int | Returns: the@Order annotation value on the configuration class,
or Ordered#LOWEST_PRECEDENCE if none declaredthe bean definition to check beanDef)Determine the order for the given configuration class bean definition,
as set by |
| pack-priv static boolean | |
| public static Class | initializeConfigurationClass(Class<?>
the configuration class to initialize userClass)Initialize a configuration class proxy for the specified class. |
| pack-priv static boolean | Returns: true if the given class is to be registered for
configuration class processing; false otherwisethe metadata of the annotated class metadata)Check the given metadata for a configuration class candidate (or nested component class declared within a configuration/component class). |
| CANDIDATE_ATTRIBUTE | back to summary |
|---|---|
| pack-priv static final String CANDIDATE_ATTRIBUTE When set to For example, a class registered directly with an
| |
| candidateIndicators | back to summary |
|---|---|
| private static final Set<String> candidateIndicators | |
| CONFIGURATION_CLASS_ATTRIBUTE | back to summary |
|---|---|
| pack-priv static final String CONFIGURATION_CLASS_ATTRIBUTE | |
| CONFIGURATION_CLASS_FULL | back to summary |
|---|---|
| pack-priv static final String CONFIGURATION_CLASS_FULL | |
| CONFIGURATION_CLASS_LITE | back to summary |
|---|---|
| pack-priv static final String CONFIGURATION_CLASS_LITE | |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| ORDER_ATTRIBUTE | back to summary |
|---|---|
| pack-priv static final String ORDER_ATTRIBUTE | |
| ConfigurationClassUtils | back to summary |
|---|---|
| public ConfigurationClassUtils() | |
| checkConfigurationClassCandidate | back to summary |
|---|---|
| pack-priv static boolean checkConfigurationClassCandidate(BeanDefinition beanDef, MetadataReaderFactory metadataReaderFactory) Check whether the given bean definition is a candidate for a configuration class (or a nested component class declared within a configuration/component class, to be auto-registered as well), and mark it accordingly.
| |
| getOrder | back to summary |
|---|---|
| public static Integer getOrder(AnnotationMetadata metadata) Determine the order for the given configuration class metadata.
| |
| getOrder | back to summary |
|---|---|
| public static int getOrder(BeanDefinition beanDef) Determine the order for the given configuration class bean definition,
as set by
| |
| hasBeanMethods | back to summary |
|---|---|
| pack-priv static boolean hasBeanMethods(AnnotationMetadata metadata) | |
| initializeConfigurationClass | back to summary |
|---|---|
| public static Class Initialize a configuration class proxy for the specified class.
| |
| isConfigurationCandidate | back to summary |
|---|---|
| pack-priv static boolean isConfigurationCandidate(AnnotationMetadata metadata) Check the given metadata for a configuration class candidate (or nested component class declared within a configuration/component class).
| |