org.springframework.context.annotation
Class ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition
java.lang.Object
org.springframework.core.AttributeAccessorSupport
org.springframework.beans.BeanMetadataAttributeAccessor
org.springframework.beans.factory.support.AbstractBeanDefinition
org.springframework.beans.factory.support.RootBeanDefinition
org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, BeanMetadataElement, AnnotatedBeanDefinition, BeanDefinition, AttributeAccessor
- Enclosing class:
- ConfigurationClassBeanDefinitionReader
private static class ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition
- extends RootBeanDefinition
- implements AnnotatedBeanDefinition
RootBeanDefinition
marker subclass used to signify that a bean definition
created from a configuration class as opposed to any other configuration source.
Used in bean overriding cases where it's necessary to determine whether the bean
definition was created externally.
Methods inherited from class org.springframework.beans.factory.support.RootBeanDefinition |
equals, getDecoratedDefinition, getParentName, getResolvedFactoryMethod, isExternallyManagedConfigMember, isExternallyManagedDestroyMethod, isExternallyManagedInitMethod, registerExternallyManagedConfigMember, registerExternallyManagedDestroyMethod, registerExternallyManagedInitMethod, setDecoratedDefinition, setParentName, setUniqueFactoryMethodName, toString |
Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition |
addQualifier, applyDefaults, clone, copyQualifiersFrom, getAutowireMode, getBeanClass, getBeanClassName, getConstructorArgumentValues, getDependencyCheck, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getMethodOverrides, getOriginatingBeanDefinition, getPropertyValues, getQualifier, getQualifiers, getResolvedAutowireMode, getResource, getResourceDescription, getRole, getScope, hasBeanClass, hasConstructorArgumentValues, hashCode, hasQualifier, isAbstract, isAutowireCandidate, isEnforceDestroyMethod, isEnforceInitMethod, isLazyInit, isLenientConstructorResolution, isNonPublicAccessAllowed, isPrimary, isPrototype, isSingleton, isSynthetic, overrideFrom, overrideFrom, prepareMethodOverride, prepareMethodOverrides, resolveBeanClass, setAbstract, setAutowireCandidate, setAutowireMode, setBeanClass, setBeanClassName, setConstructorArgumentValues, setDependencyCheck, setDependsOn, setDescription, setDestroyMethodName, setEnforceDestroyMethod, setEnforceInitMethod, setFactoryBeanName, setFactoryMethodName, setInitMethodName, setLazyInit, setLenientConstructorResolution, setMethodOverrides, setNonPublicAccessAllowed, setOriginatingBeanDefinition, setPrimary, setPropertyValues, setResource, setResourceDescription, setRole, setScope, setSingleton, setSynthetic, validate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.config.BeanDefinition |
getBeanClassName, getConstructorArgumentValues, getDependsOn, getDescription, getFactoryBeanName, getFactoryMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResourceDescription, getRole, getScope, isAbstract, isAutowireCandidate, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setFactoryBeanName, setFactoryMethodName, setLazyInit, setParentName, setPrimary, setScope |
annotationMetadata
private AnnotationMetadata annotationMetadata
ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition
public ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition(ConfigurationClass configClass)
ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition
private ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition(ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition original)
getMetadata
public AnnotationMetadata getMetadata()
- Description copied from interface:
AnnotatedBeanDefinition
- Obtain the annotation metadata (as well as basic class metadata)
for this bean definition's bean class.
- Specified by:
getMetadata
in interface AnnotatedBeanDefinition
- Returns:
- the annotation metadata object (never
null
)
isFactoryMethod
public boolean isFactoryMethod(java.lang.reflect.Method candidate)
- Description copied from class:
RootBeanDefinition
- Check whether the given candidate qualifies as a factory method.
- Overrides:
isFactoryMethod
in class RootBeanDefinition
cloneBeanDefinition
public ConfigurationClassBeanDefinitionReader.ConfigurationClassBeanDefinition cloneBeanDefinition()
- Description copied from class:
AbstractBeanDefinition
- Clone this bean definition.
To be implemented by concrete subclasses.
- Overrides:
cloneBeanDefinition
in class RootBeanDefinition
- Returns:
- the cloned bean definition object