public class BeanDefinitionHolder implements BeanMetadataElement {
private final BeanDefinition beanDefinition;
private final String beanName;
@Nullable
private final String[ ] aliases;
}
public interface BeanDefinition extends AttributeAccessor , BeanMetadataElement {
String SCOPE_SINGLETON = ConfigurableBeanFactory. SCOPE_SINGLETON;
String SCOPE_PROTOTYPE = ConfigurableBeanFactory. SCOPE_PROTOTYPE;
int ROLE_APPLICATION = 0 ;
int ROLE_SUPPORT = 1 ;
int ROLE_INFRASTRUCTURE = 2 ;
void setParentName ( String parentName) ;
String getParentName ( ) ;
void setBeanClassName ( String beanClassName) ;
String getBeanClassName ( ) ;
void setScope ( String scope) ;
String getScope ( ) ;
void setLazyInit ( boolean lazyInit) ;
boolean isLazyInit ( ) ;
void setDependsOn ( String. . . dependsOn) ;
String[ ] getDependsOn ( ) ;
void setAutowireCandidate ( boolean autowireCandidate) ;
boolean isAutowireCandidate ( ) ;
void setPrimary ( boolean primary) ;
boolean isPrimary ( ) ;
void setFactoryBeanName ( String factoryBeanName) ;
String getFactoryBeanName ( ) ;
void setFactoryMethodName ( String factoryMethodName) ;
String getFactoryMethodName ( ) ;
ConstructorArgumentValues getConstructorArgumentValues ( ) ;
MutablePropertyValues getPropertyValues ( ) ;
boolean isSingleton ( ) ;
boolean isPrototype ( ) ;
boolean isAbstract ( ) ;
int getRole ( ) ;
String getDescription ( ) ;
String getResourceDescription ( ) ;
public interface AttributeAccessor {
void setAttribute ( String var1, @Nullable Object var2) ;
@Nullable
Object getAttribute ( String var1) ;
@Nullable
Object removeAttribute ( String var1) ;
boolean hasAttribute ( String var1) ;
String[ ] attributeNames ( ) ;
}