List of usage examples for org.springframework.cglib.proxy Enhancer setInterceptDuringConstruction
public void setInterceptDuringConstruction(boolean interceptDuringConstruction)
From source file:org.springframework.aop.framework.CglibAopProxy.java
protected Object createProxyClassAndInstance(Enhancer enhancer, Callback[] callbacks) { enhancer.setInterceptDuringConstruction(false); enhancer.setCallbacks(callbacks);//from w w w . ja v a 2s . c om return (this.constructorArgs != null && this.constructorArgTypes != null ? enhancer.create(this.constructorArgTypes, this.constructorArgs) : enhancer.create()); }