java.lang.Objectorg.springframework.aop.framework.ProxyConfig
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PersistenceExceptionTranslationPostProcessor, ProxyFactoryBean, AspectJProxyFactory, ProxyFactory, DefaultAdvisorAutoProxyCreator, AnnotationAwareAspectJAutoProxyCreator, AdvisedSupport, BeanNameAutoProxyCreator, InfrastructureAdvisorAutoProxyCreator, ProxyCreatorSupport, AspectJAwareAdvisorAutoProxyCreator, TransactionProxyFactoryBean, AbstractAdvisorAutoProxyCreator, AbstractSingletonProxyFactoryBean, AbstractAutoProxyCreator, ScopedProxyFactoryBean
Rod - JohnsonJuergen - Hoeller| Field Summary | ||
|---|---|---|
| boolean | opaque | |
| boolean | exposeProxy | |
| Method from org.springframework.aop.framework.ProxyConfig Summary: |
|---|
| copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.aop.framework.ProxyConfig Detail: |
|---|
|
|
|
|
|
|
this, the invocation will not be advised).
Default is "false", for optimal performance. |
When a config is frozen, no advice changes can be made. This is useful for optimization, and useful when we don't want callers to be able to manipulate configuration after casting to Advised. |
|
For example, optimization will usually mean that advice changes won't take effect after a proxy has been created. For this reason, optimization is disabled by default. An optimize value of "true" may be ignored if other settings preclude optimization: for example, if "exposeProxy" is set to "true" and that's not compatible with the optimization. |
Set this to "true" to force proxying for the TargetSource's exposed target class. If that target class is an interface, a JDK proxy will be created for the given interface. If that target class is any other class, a CGLIB proxy will be created for the given class. Note: Depending on the configuration of the concrete proxy factory, the proxy-target-class behavior will also be applied if no interfaces have been specified (and no interface autodetection is activated). |
|