インターフェースの使用
org.springframework.aop.framework.autoproxy.TargetSourceCreator
パッケージ
説明
ApplicationContexts で使用する Bean ポストプロセッサー。ProxyFactoryBean を使用せずに AOP プロキシを自動的に作成することにより、AOP の使用を簡素化します。
Spring の AOP 自動プロキシサポートで使用するためのさまざまな
TargetSourceCreator
実装。org.springframework.aop.framework.autoproxy 内の TargetSourceCreator 使用
修飾子と型メソッド説明void
AbstractAutoProxyCreator.setCustomTargetSourceCreators
(TargetSourceCreator... targetSourceCreators) この順序で適用されるカスタムTargetSourceCreators
を設定します。org.springframework.aop.framework.autoproxy.target 内の TargetSourceCreator 使用
修飾子と型クラス説明class
プロトタイプ Bean の複数のインスタンスを作成する必要があるTargetSourceCreator
実装の便利なスーパークラス。class
"lazy-init" として定義されている各 Bean に対してLazyInitTargetSource
を実施するTargetSourceCreator
。class
Bean の名前のプレフィックスを使用して、3 つのよく知られた TargetSource 型の 1 つを作成する便利な TargetSourceCreator::CommonsPool2TargetSource%ThreadLocalTargetSource! PrototypeTargetSource