|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.springframework.aop.framework.HashMapCachingAdvisorChainFactory
AdvisorChainFactory implementation that caches by method.
Uses IdentityHashMap on JDK >= 1.4 or Commons Collections 3.x' IdentityMap (if available), which skip expensive Method.hashCode() calls. Falls back to standard HashMap on plain JDK 1.3.
CollectionFactory.createIdentityMapIfPossible(int),
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. |
List |
getInterceptorsAndDynamicInterceptionAdvice(Advised config,
Object proxy,
Method method,
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 List getInterceptorsAndDynamicInterceptionAdvice(Advised config,
Object proxy,
Method method,
Class targetClass)
AdvisorChainFactory
getInterceptorsAndDynamicInterceptionAdvice in interface AdvisorChainFactorypublic void activated(AdvisedSupport advisedSupport)
AdvisedSupportListener
activated in interface AdvisedSupportListeneradvisedSupport - the AdvisedSupport objectpublic void adviceChanged(AdvisedSupport advisedSupport)
AdvisedSupportListener
adviceChanged in interface AdvisedSupportListeneradvisedSupport - the AdvisedSupport object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||