List of usage examples for org.springframework.aop IntroductionAdvisor validateInterfaces
void validateInterfaces() throws IllegalArgumentException;
From source file:org.springframework.aop.framework.AdvisedSupport.java
public void addAdvisor(int pos, IntroductionAdvisor advisor) throws AopConfigException { advisor.validateInterfaces(); // If the advisor passed validation, we can make the change. for (int i = 0; i < advisor.getInterfaces().length; i++) { addInterface(advisor.getInterfaces()[i]); }//from w w w . j av a2 s . c o m addAdvisorInternal(pos, advisor); }