コンストラクターと説明 |
---|
ExposeBeanNameAdvisors() |
修飾子と型 | メソッドと説明 |
---|---|
static Advisor | createAdvisorIntroducingNamedBean(StringSE beanName) 指定された Bean 名を公開する新しいアドバイザを作成し、NamedBean インターフェースを導入して、ターゲットオブジェクトにこの Spring IoC コンセプトを意識させることなく Bean 名にアクセスできるようにします。 |
static Advisor | createAdvisorWithoutIntroduction(StringSE beanName) 導入なしで、指定された Bean 名を公開する新しいアドバイザーを作成します。 |
static StringSE | getBeanName() 現在の呼び出しの Bean 名を見つけます。 |
static StringSE | getBeanName(MethodInvocation mi) 指定された呼び出しの Bean 名を見つけます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static StringSE getBeanName() throws IllegalStateExceptionSE
null
)IllegalStateExceptionSE
- Bean 名が公開されていない場合 public static StringSE getBeanName(MethodInvocation mi) throws IllegalStateExceptionSE
mi
- 属性として Bean 名を含む MethodInvocationnull
)IllegalStateExceptionSE
- Bean 名が公開されていない場合 public static Advisor createAdvisorWithoutIntroduction(StringSE beanName)
beanName
- 公開する Bean 名