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:
optimize flag is set
proxyTargetClass flag is set
In general, specify proxyTargetClass to enforce a CGLIB proxy,
or specify one or more interfaces to use a JDK dynamic proxy.
AdvisedSupport#setOptimize, AdvisedSupport#setProxyTargetClass, AdvisedSupport#setInterfaces
| Modifier and Type | Field and Description |
|---|---|
| public static final DefaultAopProxyFactory | INSTANCE
Singleton instance of this class. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AopProxy | createAopProxy(AdvisedSupport
the AOP configuration in the form of an
AdvisedSupport object config)Implements org. Create an |
| private boolean | hasNoUserSuppliedProxyInterfaces(AdvisedSupport config)
Determine whether the supplied |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultAopProxyFactory INSTANCE Singleton instance of this class.
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DefaultAopProxyFactory | back to summary |
|---|---|
| public DefaultAopProxyFactory() | |
| createAopProxy | back to summary |
|---|---|
| public AopProxy createAopProxy(AdvisedSupport config) throws AopConfigException Implements org. Doc from org. Create an
| |
| hasNoUserSuppliedProxyInterfaces | back to summary |
|---|---|
| private boolean hasNoUserSuppliedProxyInterfaces(AdvisedSupport config) Determine whether the supplied | |