org.springframework.context.annotation
Class ConfigurationClassUtils
java.lang.Object
org.springframework.context.annotation.ConfigurationClassUtils
abstract class ConfigurationClassUtils
- extends java.lang.Object
Utilities for processing @Configuration
classes.
- Since:
- 3.1
- Author:
- Chris Beams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final Log logger
CONFIGURATION_CLASS_FULL
private static final java.lang.String CONFIGURATION_CLASS_FULL
- See Also:
- Constant Field Values
CONFIGURATION_CLASS_LITE
private static final java.lang.String CONFIGURATION_CLASS_LITE
- See Also:
- Constant Field Values
CONFIGURATION_CLASS_ATTRIBUTE
private static final java.lang.String CONFIGURATION_CLASS_ATTRIBUTE
ConfigurationClassUtils
ConfigurationClassUtils()
checkConfigurationClassCandidate
public static boolean checkConfigurationClassCandidate(BeanDefinition beanDef,
MetadataReaderFactory metadataReaderFactory)
- Check whether the given bean definition is a candidate for a configuration class,
and mark it accordingly.
- Parameters:
beanDef
- the bean definition to checkmetadataReaderFactory
- the current factory in use by the caller
- Returns:
- whether the candidate qualifies as (any kind of) configuration class
isConfigurationCandidate
public static boolean isConfigurationCandidate(AnnotationMetadata metadata)
isFullConfigurationCandidate
public static boolean isFullConfigurationCandidate(AnnotationMetadata metadata)
isLiteConfigurationCandidate
public static boolean isLiteConfigurationCandidate(AnnotationMetadata metadata)
isFullConfigurationClass
public static boolean isFullConfigurationClass(BeanDefinition beanDef)
- Determine whether the given bean definition indicates a full @Configuration class.