public class BeanDefinitionProxy
extends org.springframework.beans.factory.support.GenericBeanDefinition
implements org.springframework.beans.factory.config.BeanDefinition
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
Constructor and Description |
---|
BeanDefinitionProxy(org.springframework.beans.factory.config.BeanDefinition mergedBeanDefinition,
org.springframework.beans.factory.config.BeanDefinition currentBeanDefinition) |
Modifier and Type | Method and Description |
---|---|
String[] |
attributeNames() |
Object |
getAttribute(String name) |
Class<?> |
getBeanClass()
修复被引用时,引用者还是使用覆盖前BD的问题
|
String |
getBeanClassName() |
org.springframework.beans.factory.config.ConstructorArgumentValues |
getConstructorArgumentValues() |
String |
getFactoryBeanName() |
String |
getFactoryMethodName() |
org.springframework.beans.factory.support.MethodOverrides |
getMethodOverrides() |
org.springframework.beans.factory.config.BeanDefinition |
getOriginatingBeanDefinition() |
String |
getParentName() |
org.springframework.beans.MutablePropertyValues |
getPropertyValues() |
String |
getResourceDescription() |
int |
getRole() |
String |
getScope() |
Object |
getSource() |
boolean |
hasAttribute(String name) |
boolean |
isAbstract() |
boolean |
isAutowireCandidate() |
boolean |
isLazyInit() |
boolean |
isSingleton() |
Object |
removeAttribute(String name) |
cloneBeanDefinition, equals, setParentName, toString
addQualifier, applyDefaults, clone, copyQualifiersFrom, getAutowireMode, getDependencyCheck, getDependsOn, getDescription, getDestroyMethodName, getInitMethodName, getQualifier, getQualifiers, getResolvedAutowireMode, getResource, hasBeanClass, hasConstructorArgumentValues, hashCode, hasQualifier, isEnforceDestroyMethod, isEnforceInitMethod, isLenientConstructorResolution, isNonPublicAccessAllowed, isPrimary, isPrototype, isSynthetic, 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, setSynthetic, validate
addMetadataAttribute, getMetadataAttribute, setAttribute, setSource
finalize, getClass, notify, notifyAll, wait, wait, wait
public BeanDefinitionProxy(org.springframework.beans.factory.config.BeanDefinition mergedBeanDefinition, org.springframework.beans.factory.config.BeanDefinition currentBeanDefinition)
public Class<?> getBeanClass() throws IllegalStateException
getBeanClass
in class org.springframework.beans.factory.support.AbstractBeanDefinition
IllegalStateException
public String getBeanClassName()
getBeanClassName
in interface org.springframework.beans.factory.config.BeanDefinition
getBeanClassName
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public org.springframework.beans.factory.config.ConstructorArgumentValues getConstructorArgumentValues()
getConstructorArgumentValues
in interface org.springframework.beans.factory.config.BeanDefinition
getConstructorArgumentValues
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public String getFactoryBeanName()
getFactoryBeanName
in interface org.springframework.beans.factory.config.BeanDefinition
getFactoryBeanName
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public String getFactoryMethodName()
getFactoryMethodName
in interface org.springframework.beans.factory.config.BeanDefinition
getFactoryMethodName
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public org.springframework.beans.factory.config.BeanDefinition getOriginatingBeanDefinition()
getOriginatingBeanDefinition
in interface org.springframework.beans.factory.config.BeanDefinition
getOriginatingBeanDefinition
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public String getParentName()
getParentName
in interface org.springframework.beans.factory.config.BeanDefinition
getParentName
in class org.springframework.beans.factory.support.GenericBeanDefinition
public org.springframework.beans.MutablePropertyValues getPropertyValues()
getPropertyValues
in interface org.springframework.beans.factory.config.BeanDefinition
getPropertyValues
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public String getResourceDescription()
getResourceDescription
in interface org.springframework.beans.factory.config.BeanDefinition
getResourceDescription
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public int getRole()
getRole
in interface org.springframework.beans.factory.config.BeanDefinition
getRole
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public String getScope()
getScope
in interface org.springframework.beans.factory.config.BeanDefinition
getScope
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public boolean isAbstract()
isAbstract
in interface org.springframework.beans.factory.config.BeanDefinition
isAbstract
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public boolean isAutowireCandidate()
isAutowireCandidate
in interface org.springframework.beans.factory.config.BeanDefinition
isAutowireCandidate
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public boolean isLazyInit()
isLazyInit
in interface org.springframework.beans.factory.config.BeanDefinition
isLazyInit
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.config.BeanDefinition
isSingleton
in class org.springframework.beans.factory.support.AbstractBeanDefinition
public String[] attributeNames()
attributeNames
in interface org.springframework.core.AttributeAccessor
attributeNames
in class org.springframework.core.AttributeAccessorSupport
public Object getAttribute(String name)
getAttribute
in interface org.springframework.core.AttributeAccessor
getAttribute
in class org.springframework.beans.BeanMetadataAttributeAccessor
public boolean hasAttribute(String name)
hasAttribute
in interface org.springframework.core.AttributeAccessor
hasAttribute
in class org.springframework.core.AttributeAccessorSupport
public Object removeAttribute(String name)
removeAttribute
in interface org.springframework.core.AttributeAccessor
removeAttribute
in class org.springframework.beans.BeanMetadataAttributeAccessor
public Object getSource()
getSource
in interface org.springframework.beans.BeanMetadataElement
getSource
in class org.springframework.beans.BeanMetadataAttributeAccessor
public org.springframework.beans.factory.support.MethodOverrides getMethodOverrides()
getMethodOverrides
in class org.springframework.beans.factory.support.AbstractBeanDefinition
Copyright © 2006–2018 TinyGroup. All rights reserved.