インターフェースの使用
org.springframework.aop.TargetSource
TargetSource を使用するパッケージ
パッケージ
説明
AOP アライアンスインターフェースに準拠した Spring の基本的な AOP インフラストラクチャを含むパッケージ。
ApplicationContexts で使用する Bean ポストプロセッサー。ProxyFactoryBean を使用せずに AOP プロキシを自動的に作成することにより、AOP の使用を簡素化します。
Spring の AOP 自動プロキシサポートで使用するためのさまざまな
TargetSourceCreator
実装。Spring AOP で使用するためのさまざまな
TargetSource
実装。Spring AOP で使用するための動的でリフレッシュ可能な
TargetSource
実装のサポート。 このパッケージのクラスを使用すると、JNDI が使いやすくなり、JNDI に格納されている構成へのアクセスが容易になり、JNDI アクセスクラスに便利なスーパークラスが提供されます。
Spring のスクリプトパッケージのサポートクラス。
org.springframework.aop.framework 内の TargetSource 使用
TargetSource として宣言されている org.springframework.aop.framework のフィールド修飾子と型フィールド説明static final TargetSource
AdvisedSupport.EMPTY_TARGET_SOURCE
ターゲットが存在せず、動作がアドバイザによって提供される場合の正規の TargetSource。修飾子と型メソッド説明protected TargetSource
AbstractSingletonProxyFactoryBean.createTargetSource
(ObjectSE target) 指定されたターゲット(または TargetSource)の TargetSource を決定します。Advised.getTargetSource()
このAdvised
オブジェクトによって使用されるTargetSource
を返します。AdvisedSupport.getTargetSource()
型 TargetSource のパラメーターを持つ org.springframework.aop.framework のメソッド修飾子と型メソッド説明protected void
AdvisedSupport.copyConfigurationFrom
(AdvisedSupport other, TargetSource targetSource, ListSE<Advisor> advisors) 指定されたAdvisedSupport
オブジェクトから AOP 構成をコピーしますが、新しいTargetSource
と指定されたインターセプターチェーンの置換を許可します。static <T> T
ProxyFactory.getProxy
(ClassSE<T> proxyInterface, TargetSource targetSource) 指定されたTargetSource
のプロキシを作成し、指定されたインターフェースを実装します。static ObjectSE
ProxyFactory.getProxy
(TargetSource targetSource) TargetSource
のターゲットクラスを継承する、指定されたTargetSource
のプロキシを作成します。void
Advised.setTargetSource
(TargetSource targetSource) このAdvised
オブジェクトで使用されるTargetSource
を変更します。void
AdvisedSupport.setTargetSource
(TargetSource targetSource) 型 TargetSource のパラメーターを持つ org.springframework.aop.framework のコンストラクター修飾子コンストラクター説明ProxyFactory
(ClassSE<?> proxyInterface, TargetSource targetSource) 指定されたTargetSource
の ProxyFactory を作成し、指定されたインターフェースをプロキシに実装させます。org.springframework.aop.framework.autoproxy 内の TargetSource 使用
修飾子と型メソッド説明protected TargetSource
AbstractAutoProxyCreator.getCustomTargetSource
(ClassSE<?> beanClass, StringSE beanName) Bean インスタンスのターゲットソースを作成します。protected TargetSource
BeanNameAutoProxyCreator.getCustomTargetSource
(ClassSE<?> beanClass, StringSE beanName) Bean 名がサポートされている名前の構成済みリスト内の名前の 1 つと一致する場合は、AbstractAutoProxyCreator.getCustomTargetSource(Class, String)
に委譲し、そうでない場合はnull
を返します。TargetSourceCreator.getTargetSource
(ClassSE<?> beanClass, StringSE beanName) 指定された Bean に特別な TargetSource を作成します(存在する場合)。型 TargetSource のパラメーターを持つ org.springframework.aop.framework.autoproxy のメソッド修飾子と型メソッド説明protected ObjectSE
AbstractAutoProxyCreator.createProxy
(ClassSE<?> beanClass, StringSE beanName, ObjectSE[] specificInterceptors, TargetSource targetSource) 指定された Bean の AOP プロキシを作成します。protected ObjectSE[]
AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean
(ClassSE<?> beanClass, StringSE beanName, TargetSource targetSource) protected abstract ObjectSE[]
AbstractAutoProxyCreator.getAdvicesAndAdvisorsForBean
(ClassSE<?> beanClass, StringSE beanName, TargetSource customTargetSource) 指定された Bean をプロキシするかどうか、どのような追加のアドバイスを返すか(例:protected ObjectSE[]
BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean
(ClassSE<?> beanClass, StringSE beanName, TargetSource targetSource) Bean 名が、サポートされている名前の構成済みリストにある名前の 1 つと一致する場合は、プロキシする Bean として識別します。org.springframework.aop.framework.autoproxy.target 内の TargetSource 使用
修飾子と型メソッド説明final TargetSource
AbstractBeanFactoryBasedTargetSourceCreator.getTargetSource
(ClassSE<?> beanClass, StringSE beanName) org.springframework.aop.target 内の TargetSource 使用
TargetSource を実装している org.springframework.aop.target のクラス修飾子と型クラス説明class
SpringBeanFactory
に基づき、Spring が管理する Bean インスタンスに委譲するTargetSource
実装の基本クラス。class
ユーザー管理オブジェクトを遅延作成するTargetSource
実装。class
ターゲットインスタンスのプールを維持するTargetSource
実装をプールし、メソッドを呼び出すたびにプールからターゲットオブジェクトを取得および解放するための抽象基本クラス。class
プーリングまたは new-instance-per-invocation 戦略をサポートする新しいプロトタイプ Bean インスタンスを作成する動的TargetSource
実装の基本クラス。class
構成可能な Apache Commons2 プールにオブジェクトを保持するTargetSource
実装。final class
ターゲットが存在しない(またはターゲットクラスのみが既知である)場合の正規のTargetSource
。動作は、インターフェースとアドバイザのみによって提供されます。class
ローカルターゲットオブジェクトをキャッシュしますが、アプリケーションの実行中にターゲットをスワップできるTargetSource
実装。class
BeanFactory
からシングルトン Bean に遅延アクセスするTargetSource
。class
リクエストごとにターゲット Bean の新しいインスタンスを作成し、リリース時に各リクエストを破棄するTargetSource
実装。class
単純なTargetSource
実装。これを含む SpringBeanFactory
から指定されたターゲット Bean を新たに取得します。class
指定されたオブジェクトを保持するTargetSource
インターフェースの実装。class
オブジェクトプールの代替。org.springframework.aop.target.dynamic 内の TargetSource 使用
TargetSource を実装している org.springframework.aop.target.dynamic のクラス修飾子と型クラス説明class
リフレッシュ可能なターゲットオブジェクトをラップする抽象TargetSource
実装。class
BeanFactory から新しいターゲット Bean をフェッチするリフレッシュ可能な TargetSource。org.springframework.jndi 内の TargetSource 使用
TargetSource を実装している org.springframework.jndi のクラスorg.springframework.scripting.support 内の TargetSource 使用
TargetSource を実装している org.springframework.scripting.support のクラス修飾子と型クラス説明class
指定されたScriptFactory
を通じてリフレッシュが必要かどうかを決定するBeanFactoryRefreshableTargetSource
のサブクラス。型 TargetSource のパラメーターを持つ org.springframework.scripting.support のメソッド修飾子と型メソッド説明protected ObjectSE
ScriptFactoryPostProcessor.createRefreshableProxy
(TargetSource ts, ClassSE<?>[] interfaces, boolean proxyTargetClass) 指定された AOP TargetSource のリフレッシュ可能なプロキシを作成します。