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