org.springframework.aop.framework
Class HashMapCachingAdvisorChainFactory


public final class HashMapCachingAdvisorChainFactory
implements AdvisorChainFactory

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.

Author:
Rod Johnson
Version: $Id: HashMapCachingAdvisorChainFactory.java,v 1.3 2004/01/31 10:34:58 johnsonr Exp $

Method Summary
 voidactivated(AdvisedSupport advisedSupport)
           
 voidadviceChanged(AdvisedSupport advisedSupport)
           
 ListgetInterceptorsAndDynamicInterceptionAdvice(Advised config, Object proxy, Method method, Class targetClass)
           

Method Detail

activated

public void activated(AdvisedSupport advisedSupport)
See Also:
AdvisedSupportListener.activated(org.springframework.aop.framework.AdvisedSupport)

adviceChanged

public void adviceChanged(AdvisedSupport advisedSupport)
See Also:
AdvisedSupportListener.adviceChanged(org.springframework.aop.framework.AdvisedSupport)

getInterceptorsAndDynamicInterceptionAdvice

public List getInterceptorsAndDynamicInterceptionAdvice(Advised config, Object proxy, Method method, Class targetClass)

Association Links

to Class java.util.Map