public class GenericBeanDefinition extends AbstractBeanDefinition
一般に、この GenericBeanDefinition
クラスは、ユーザーに表示される Bean 定義(ポストプロセッサーが操作する可能性があり、場合によっては親名を再構成する可能性もあります)を登録する目的で使用します。親子関連がたまたま事前に決定されている RootBeanDefinition
/ ChildBeanDefinition
を使用します。
setParentName(java.lang.String)
, RootBeanDefinition
, ChildBeanDefinition
, 直列化された形式 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
コンストラクターと説明 |
---|
GenericBeanDefinition() 新しい GenericBeanDefinition を作成し、その Bean プロパティと構成メソッドを使用して構成します。 |
GenericBeanDefinition(BeanDefinition original) 指定された Bean 定義のディープコピーとして新しい GenericBeanDefinition を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
AbstractBeanDefinition | cloneBeanDefinition() この Bean 定義を複製します。 |
boolean | equals(ObjectSE other) |
StringSE | getParentName() この Bean 定義の親定義の名前を返します(ある場合)。 |
void | setParentName(StringSE parentName) この Bean 定義の親定義の名前を設定します(ある場合)。 |
StringSE | toString() |
addQualifier, applyDefaults, clone, copyQualifiersFrom, getAutowireMode, getBeanClass, getBeanClassName, getConstructorArgumentValues, getDependencyCheck, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getInstanceSupplier, 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
finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
attributeNames, getAttribute, hasAttribute, removeAttribute, setAttribute
getSource
public GenericBeanDefinition()
AbstractBeanDefinition.setBeanClass(java.lang.Class<?>)
, AbstractBeanDefinition.setScope(java.lang.String)
, AbstractBeanDefinition.setConstructorArgumentValues(org.springframework.beans.factory.config.ConstructorArgumentValues)
, AbstractBeanDefinition.setPropertyValues(org.springframework.beans.MutablePropertyValues)
public GenericBeanDefinition(BeanDefinition original)
original
- コピー元の元の Bean 定義 public void setParentName(@Nullable StringSE parentName)
BeanDefinition
@Nullable public StringSE getParentName()
BeanDefinition
public AbstractBeanDefinition cloneBeanDefinition()
AbstractBeanDefinition
AbstractBeanDefinition
の cloneBeanDefinition
public boolean equals(ObjectSE other)
AbstractBeanDefinition
の equals
public StringSE toString()
AbstractBeanDefinition
の toString