List<InterceptorPair> interceptorPairs = aopConfigration.getInterceptorPairList(ioc, type);
if (interceptorPairs == null || interceptorPairs.size() < 1)
return Mirror.me(type);
ClassAgent agent = new AsmClassAgent();
for (InterceptorPair interceptorPair : interceptorPairs)
agent.addInterceptor( interceptorPair.getMethodMatcher(),
interceptorPair.getMethodInterceptor());
return Mirror.me(agent.define(cd, type));
}
public void setAopConfigration(AopConfigration aopConfigration) {