Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » framework » [javadoc | source]
org.springframework.aop.framework
public class: DefaultAopProxyFactory [javadoc | source]
java.lang.Object
   org.springframework.aop.framework.DefaultAopProxyFactory

All Implemented Interfaces:
    AopProxyFactory, Serializable

Default AopProxyFactory implementation, creating either a CGLIB proxy or a JDK dynamic proxy.

Creates a CGLIB proxy if one the following is true for a given AdvisedSupport instance:

Note that the CGLIB library classes have to be present on the class path if an actual CGLIB proxy needs to be created.

In general, specify "proxyTargetClass" to enforce a CGLIB proxy, or specify one or more interfaces to use a JDK dynamic proxy.

Method from org.springframework.aop.framework.DefaultAopProxyFactory Summary:
createAopProxy
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.springframework.aop.framework.DefaultAopProxyFactory Detail:
 public AopProxy createAopProxy(AdvisedSupport config) throws AopConfigException