public class AspectJProxyFactory extends ProxyCreatorSupport
addAspect(Object), addAspect(Class), getProxy(), getProxy(ClassLoader), ProxyFactory, 連載形式 EMPTY_TARGET_SOURCE| コンストラクターと説明 |
|---|
AspectJProxyFactory() 新しい AspectJProxyFactory を作成します。 |
AspectJProxyFactory(java.lang.Class<?>... interfaces) 新しい AspectJProxyFactory を作成します。 |
AspectJProxyFactory(java.lang.Object target) 新しい AspectJProxyFactory を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | addAspect(java.lang.Class<?> aspectClass) 提供された型のアスペクトをアドバイスチェーンの最後に追加します。 |
void | addAspect(java.lang.Object aspectInstance) 提供されたアスペクトインスタンスをチェーンに追加します。 |
<T> T | getProxy() このファクトリの設定に従って新しいプロキシを作成します。 |
<T> T | getProxy(java.lang.ClassLoader classLoader) このファクトリの設定に従って新しいプロキシを作成します。 |
addListener, adviceChanged, createAopProxy, getAopProxyFactory, isActive, removeListener, setAopProxyFactoryaddAdvice, addAdvice, addAdvisor, addAdvisor, addAdvisors, addAdvisors, addInterface, adviceIncluded, copyConfigurationFrom, copyConfigurationFrom, countAdvicesOfType, getAdvisorChainFactory, getAdvisors, getAdvisorsInternal, getInterceptorsAndDynamicInterceptionAdvice, getProxiedInterfaces, getTargetClass, getTargetSource, indexOf, indexOf, isInterfaceProxied, isPreFiltered, removeAdvice, removeAdvisor, removeAdvisor, removeInterface, replaceAdvisor, setAdvisorChainFactory, setInterfaces, setPreFiltered, setTarget, setTargetClass, setTargetSource, toProxyConfigString, toString, updateAdvisorArraycopyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisExposeProxy, isFrozen, isProxyTargetClass, setExposeProxypublic AspectJProxyFactory()
public AspectJProxyFactory(java.lang.Object target)
指定されたターゲットが実装するすべてのインターフェースをプロキシします。
target - プロキシされるターゲットオブジェクト public AspectJProxyFactory(java.lang.Class<?>... interfaces)
AspectJProxyFactory を作成します。ターゲットはなく、インターフェースのみ。インターセプターを追加する必要があります。public void addAspect(java.lang.Object aspectInstance)
aspectInstance - AspectJ アスペクトインスタンス public void addAspect(java.lang.Class<?> aspectClass)
aspectClass - AspectJ アスペクトクラス public <T> T getProxy()
繰り返し呼び出すことができます。インターフェースを追加または削除した場合、効果は異なります。インターセプターを追加および削除できます。
デフォルトのクラスローダーを使用します: 通常、スレッドコンテキストクラスローダー(プロキシ作成に必要な場合)。
public <T> T getProxy(java.lang.ClassLoader classLoader)
繰り返し呼び出すことができます。インターフェースを追加または削除した場合、効果は異なります。インターセプターを追加および削除できます。
指定されたクラスローダーを使用します(プロキシ作成に必要な場合)。
classLoader - プロキシを作成するクラスローダー