panda.ioc.aop.config.impl.ComboAopConfigration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-glue Show documentation
Show all versions of panda-glue Show documentation
Panda Glue is a ASM/AOP module of the Panda Framework.
The newest version!
package panda.ioc.aop.config.impl;
import java.util.ArrayList;
import java.util.List;
import panda.ioc.Ioc;
import panda.ioc.aop.config.AopConfigration;
import panda.ioc.aop.config.InterceptorPair;
/**
* 整合多种AopConfigration
*/
public class ComboAopConfigration implements AopConfigration {
private List aopConfigrations;
public List getInterceptorPairList(Ioc ioc, Class> clazz) {
List interceptorPairs = new ArrayList();
for (AopConfigration aopConfigration : aopConfigrations) {
List ipList = aopConfigration.getInterceptorPairList(ioc, clazz);
if (ipList != null && ipList.size() > 0)
interceptorPairs.addAll(ipList);
}
return interceptorPairs;
}
public void setAopConfigrations(List aopConfigrations) {
this.aopConfigrations = aopConfigrations;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy