public class ContextAnnotationAutowireCandidateResolver extends QualifierAnnotationAutowireCandidateResolver
AutowireCandidateResolver ストラテジーインターフェースの完全な実装。修飾子アノテーションと、context.annotation パッケージの Lazy アノテーションによる遅延解決のサポートを提供します。INSTANCE| コンストラクターと説明 |
|---|
ContextAnnotationAutowireCandidateResolver() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected ObjectSE | buildLazyResolutionProxy(DependencyDescriptor descriptor, StringSE beanName) |
ObjectSE | getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, StringSE beanName) インジェクションポイントで要求された場合、実際の依存関係ターゲットの遅延解決のためのプロキシを構築します。 |
protected boolean | isLazy(DependencyDescriptor descriptor) |
addQualifierType, checkQualifier, checkQualifiers, extractValue, findValue, getFactoryMethodAnnotation, getQualifiedElementAnnotation, getSuggestedValue, hasQualifier, isAutowireCandidate, isQualifier, isRequired, setValueAnnotationTypecheckGenericTypeMatch, cloneIfNecessary, getBeanFactory, getResolvedDecoratedDefinition, getReturnTypeForFactoryMethod, setBeanFactorycloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic ContextAnnotationAutowireCandidateResolver()
@Nullable public ObjectSE getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, @Nullable StringSE beanName)
AutowireCandidateResolver デフォルトの実装は、単に null を返します。
AutowireCandidateResolver の getLazyResolutionProxyIfNecessary SimpleAutowireCandidateResolver の getLazyResolutionProxyIfNecessary descriptor - ターゲットメソッドのパラメーターまたはフィールドの記述子 beanName - インジェクションポイントを含む Bean の名前 null protected boolean isLazy(DependencyDescriptor descriptor)
protected ObjectSE buildLazyResolutionProxy(DependencyDescriptor descriptor, @Nullable StringSE beanName)