private static class GenericApplicationContext.ClassDerivedBeanDefinition extends RootBeanDefinition
RootBeanDefinition
marker subclass for #registerBean
based
registrations with flexible autowiring for public constructors.AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR, AUTOWIRE_NO, DEPENDENCY_CHECK_ALL, DEPENDENCY_CHECK_NONE, DEPENDENCY_CHECK_OBJECTS, DEPENDENCY_CHECK_SIMPLE, INFER_METHOD, SCOPE_DEFAULT
ROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON
Constructor and Description |
---|
ClassDerivedBeanDefinition(java.lang.Class<?> beanClass) |
ClassDerivedBeanDefinition(GenericApplicationContext.ClassDerivedBeanDefinition original) |
Modifier and Type | Method and Description |
---|---|
RootBeanDefinition |
cloneBeanDefinition()
Clone this bean definition.
|
java.lang.reflect.Constructor<?>[] |
getPreferredConstructors()
Determine preferred constructors to use for default construction, if any.
|
equals, getDecoratedDefinition, getParentName, getQualifiedElement, getResolvableType, getResolvedFactoryMethod, getTargetType, isExternallyManagedConfigMember, isExternallyManagedDestroyMethod, isExternallyManagedInitMethod, isFactoryMethod, registerExternallyManagedConfigMember, registerExternallyManagedDestroyMethod, registerExternallyManagedInitMethod, setDecoratedDefinition, setNonUniqueFactoryMethodName, setParentName, setQualifiedElement, setResolvedFactoryMethod, setTargetType, setTargetType, setUniqueFactoryMethodName, toString
addQualifier, applyDefaults, clone, copyQualifiersFrom, getAutowireMode, getBeanClass, getBeanClassName, getConstructorArgumentValues, getDependencyCheck, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getInstanceSupplier, getLazyInit, getMethodOverrides, getOriginatingBeanDefinition, getPropertyValues, getQualifier, getQualifiers, getResolvedAutowireMode, getResource, getResourceDescription, getRole, getScope, hasBeanClass, hasConstructorArgumentValues, hashCode, hasMethodOverrides, hasPropertyValues, hasQualifier, isAbstract, isAutowireCandidate, isEnforceDestroyMethod, isEnforceInitMethod, isLazyInit, isLenientConstructorResolution, isNonPublicAccessAllowed, isPrimary, isPrototype, isSingleton, isSynthetic, overrideFrom, prepareMethodOverride, prepareMethodOverrides, resolveBeanClass, setAbstract, setAutowireCandidate, setAutowireMode, setBeanClass, setBeanClassName, setConstructorArgumentValues, setDependencyCheck, setDependsOn, setDescription, setDestroyMethodName, setEnforceDestroyMethod, setEnforceInitMethod, setFactoryBeanName, setFactoryMethodName, setInitMethodName, setInstanceSupplier, setLazyInit, setLenientConstructorResolution, setMethodOverrides, setNonPublicAccessAllowed, setOriginatingBeanDefinition, setPrimary, setPropertyValues, setResource, setResourceDescription, setRole, setScope, setSynthetic, validate
addMetadataAttribute, getAttribute, getMetadataAttribute, getSource, removeAttribute, setAttribute, setSource
attributeNames, copyAttributesFrom, hasAttribute
finalize, getClass, notify, notifyAll, wait, wait, wait
attributeNames, getAttribute, hasAttribute, removeAttribute, setAttribute
getSource
public ClassDerivedBeanDefinition(java.lang.Class<?> beanClass)
public ClassDerivedBeanDefinition(GenericApplicationContext.ClassDerivedBeanDefinition original)
@Nullable public java.lang.reflect.Constructor<?>[] getPreferredConstructors()
RootBeanDefinition
getPreferredConstructors
in class RootBeanDefinition
null
if none
(in which case the regular no-arg default constructor will be called)public RootBeanDefinition cloneBeanDefinition()
AbstractBeanDefinition
cloneBeanDefinition
in class RootBeanDefinition