|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.framework.HashMapCachingAdvisorChainFactory
AdvisorChainFactory implementation that caches by method.
Uses java.util.IdentityHashMap on J2SE 1.4, which skips expensive Method.hashCode() call. On J2SE 1.3, falls back to using java.util.HashMap.
IdentityHashMap
,
HashMap
,
Method.hashCode()
Constructor Summary | |
HashMapCachingAdvisorChainFactory()
|
Method Summary | |
void |
activated(AdvisedSupport advisedSupport)
Invoked when first proxy is created |
void |
adviceChanged(AdvisedSupport advisedSupport)
Invoked when advice is changed after a proxy is created |
java.util.List |
getInterceptorsAndDynamicInterceptionAdvice(Advised config,
java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Class targetClass)
Return a list of Interceptor and InterceptorAndDynamicMethodMatcher. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HashMapCachingAdvisorChainFactory()
Method Detail |
public java.util.List getInterceptorsAndDynamicInterceptionAdvice(Advised config, java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Class targetClass)
AdvisorChainFactory
getInterceptorsAndDynamicInterceptionAdvice
in interface AdvisorChainFactory
public void activated(AdvisedSupport advisedSupport)
AdvisedSupportListener
activated
in interface AdvisedSupportListener
advisedSupport
- public void adviceChanged(AdvisedSupport advisedSupport)
AdvisedSupportListener
adviceChanged
in interface AdvisedSupportListener
advisedSupport
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |