クラス ManagedTypesBeanRegistrationAotProcessor
java.lang.ObjectSE
org.springframework.data.aot.ManagedTypesBeanRegistrationAotProcessor
- 実装されたすべてのインターフェース:
BeanRegistrationAotProcessor
public class ManagedTypesBeanRegistrationAotProcessor
extends ObjectSE
implements BeanRegistrationAotProcessor
BeanRegistrationAotProcessor
処理 module
ManagedTypes
インスタンス。この AOT プロセッサーを使用すると、検出された型のストア固有の処理を登録できます。- 導入:
- 3.0
- 作成者:
- Christoph Strobl, John Blum
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected BeanRegistrationAotContribution
contribute
(AotContext aotContext, ManagedTypes managedTypes, RegisteredBean registeredBean) BeanRegistrationAotContribution
のカスタマイズされたフレーバーを提供するためのフック。protected void
contributeType
(ResolvableType type, GenerationContext generationContext) 特定の型の構成を提供するためのフック。protected boolean
protected boolean
matchesByType
(ClassSE<?> beanType) protected boolean
matchesPrefix
(StringSE beanName) processAheadOfTime
(RegisteredBean registeredBean) void
setModuleIdentifier
(StringSE moduleIdentifier) クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.beans.factory.aot.BeanRegistrationAotProcessor から継承されたメソッド
isBeanExcludedFromAotProcessing
コンストラクターの詳細
ManagedTypesBeanRegistrationAotProcessor
public ManagedTypesBeanRegistrationAotProcessor()
メソッドの詳細
setModuleIdentifier
getModuleIdentifier
processAheadOfTime
- 次で指定:
- インターフェース
BeanRegistrationAotProcessor
のprocessAheadOfTime
contribute
@Nullable protected BeanRegistrationAotContribution contribute(AotContext aotContext, ManagedTypes managedTypes, RegisteredBean registeredBean) BeanRegistrationAotContribution
のカスタマイズされたフレーバーを提供するためのフック。このメソッドをオーバーライドすると、contributeType(ResolvableType, GenerationContext)
への呼び出しが発行されなくなる可能性があります。- パラメーター:
aotContext
- 非 null。managedTypes
- 非 null。- 戻り値:
BeanRegistrationAotContribution
の新しいインスタンス、または何もしない場合は null。
contributeType
特定の型の構成を提供するためのフック。- パラメーター:
type
- 非 null。generationContext
- 非 null。
isMatch
matchesByType
matchesPrefix