|
|||||||||||
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 IdentityHashMap in JVM 1.4, which skips expensive Method.hashCode() call. In 1.3, falls back to using HashMap.
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
- AdvisedSupportListener.activated(org.springframework.aop.framework.AdvisedSupport)
public void adviceChanged(AdvisedSupport advisedSupport)
AdvisedSupportListener
adviceChanged
in interface AdvisedSupportListener
advisedSupport
- AdvisedSupportListener.adviceChanged(org.springframework.aop.framework.AdvisedSupport)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |