インターフェース AnnotatedBeanDefinition
- すべてのスーパーインターフェース:
AttributeAccessor、BeanDefinition、BeanMetadataElement
- すべての既知の実装クラス:
AnnotatedGenericBeanDefinition,ScannedGenericBeanDefinition
Bean クラスに関する
AnnotationMetadata を公開する拡張 BeanDefinition インターフェース - クラスをまだロードする必要はありません。- 導入:
- 2.5
- 作成者:
- Juergen Hoeller
- 関連事項:
フィールドのサマリー
インターフェース org.springframework.beans.factory.config.BeanDefinition から継承されたフィールド
ROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETONメソッドのサマリー
修飾子と型メソッド説明この Bean 定義のファクトリメソッドのメタデータがある場合は、取得します。この Bean 定義の Bean クラスのアノテーションメタデータ(および基本クラスのメタデータ)を取得します。インターフェース org.springframework.core.AttributeAccessor から継承されたメソッド
attributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttributeインターフェース org.springframework.beans.factory.config.BeanDefinition から継承されたメソッド
getBeanClassName, getConstructorArgumentValues, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResolvableType, getResourceDescription, getRole, getScope, hasConstructorArgumentValues, hasPropertyValues, isAbstract, isAutowireCandidate, isFallback, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setDescription, setDestroyMethodName, setFactoryBeanName, setFactoryMethodName, setFallback, setInitMethodName, setLazyInit, setParentName, setPrimary, setRole, setScopeインターフェース org.springframework.beans.BeanMetadataElement から継承されたメソッド
getSource
メソッドの詳細
getMetadata
AnnotationMetadata getMetadata()この Bean 定義の Bean クラスのアノテーションメタデータ(および基本クラスのメタデータ)を取得します。- 戻り値:
- アノテーションメタデータオブジェクト (非
null)
getFactoryMethodMetadata
この Bean 定義のファクトリメソッドのメタデータがある場合は、取得します。- 戻り値:
- ファクトリメソッドメタデータ、ない場合は
null - 導入:
- 4.1.1