Interface BeanDefinition
- All Known Implementing Classes:
AnnotatedGenericBeanDefinition
public interface BeanDefinition
-
Method Summary
Modifier and TypeMethodDescriptionString[]<T> TcomputeAttribute(String name, Function<String, T> computeFunction) getAttribute(String name) org.springframework.beans.factory.config.ConstructorArgumentValuesString[]org.springframework.beans.factory.config.BeanDefinitionorg.springframework.beans.MutablePropertyValuesorg.springframework.core.ResolvableTypeintgetRole()getScope()booleanhasAttribute(String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanremoveAttribute(String name) voidsetAttribute(String name, Object value) voidsetAutowireCandidate(boolean autowireCandidate) voidsetBeanClassName(String beanClassName) voidsetDependsOn(String[] dependsOn) voidsetDescription(String description) voidsetDestroyMethodName(String destroyMethodName) voidsetFactoryBeanName(String factoryBeanName) voidsetFactoryMethodName(String factoryMethodName) voidsetFallback(boolean fallback) voidsetInitMethodName(String initMethodName) voidsetLazyInit(boolean lazyInit) voidsetParentName(String parentName) voidsetPrimary(boolean primary) voidsetRole(int role) void
-
Method Details
-
setAttribute
-
getAttribute
-
removeAttribute
-
hasAttribute
-
attributeNames
String[] attributeNames() -
getParentName
String getParentName() -
setParentName
-
getBeanClassName
String getBeanClassName() -
setBeanClassName
-
getScope
String getScope() -
setScope
-
isLazyInit
boolean isLazyInit() -
setLazyInit
void setLazyInit(boolean lazyInit) -
getDependsOn
String[] getDependsOn() -
setDependsOn
-
isAutowireCandidate
boolean isAutowireCandidate() -
setAutowireCandidate
void setAutowireCandidate(boolean autowireCandidate) -
isPrimary
boolean isPrimary() -
setPrimary
void setPrimary(boolean primary) -
isFallback
boolean isFallback() -
setFallback
void setFallback(boolean fallback) -
getFactoryBeanName
String getFactoryBeanName() -
setFactoryBeanName
-
getFactoryMethodName
String getFactoryMethodName() -
setFactoryMethodName
-
getConstructorArgumentValues
org.springframework.beans.factory.config.ConstructorArgumentValues getConstructorArgumentValues() -
getPropertyValues
org.springframework.beans.MutablePropertyValues getPropertyValues() -
getInitMethodName
String getInitMethodName() -
setInitMethodName
-
getDestroyMethodName
String getDestroyMethodName() -
setDestroyMethodName
-
getRole
int getRole() -
setRole
void setRole(int role) -
getDescription
String getDescription() -
setDescription
-
getResolvableType
org.springframework.core.ResolvableType getResolvableType() -
isSingleton
boolean isSingleton() -
isPrototype
boolean isPrototype() -
isAbstract
boolean isAbstract() -
getResourceDescription
String getResourceDescription() -
getOriginatingBeanDefinition
org.springframework.beans.factory.config.BeanDefinition getOriginatingBeanDefinition() -
hasConstructorArgumentValues
boolean hasConstructorArgumentValues() -
hasPropertyValues
boolean hasPropertyValues() -
getSource
Object getSource() -
computeAttribute
-