java.lang.Object | |||
↳ | org.springframework.aop.framework.ProxyConfig | ||
↳ | org.springframework.aop.framework.AdvisedSupport | ||
↳ | org.springframework.aop.framework.ProxyCreatorSupport |
Known Direct Subclasses |
Base class for proxy factories. Provides convenient access to a configurable AopProxyFactory.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.framework.AdvisedSupport
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new ProxyCreatorSupport instance.
| |||||||||||
Create a new ProxyCreatorSupport instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add the given AdvisedSupportListener to this proxy configuration.
| |||||||||||
Return the AopProxyFactory that this ProxyConfig uses.
| |||||||||||
Remove the given AdvisedSupportListener from this proxy configuration.
| |||||||||||
Customize the AopProxyFactory, allowing different strategies
to be dropped in without changing the core framework.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Propagate advice change event to all AdvisedSupportListeners.
| |||||||||||
Subclasses should call this to get a new AOP proxy.
| |||||||||||
Subclasses can call this to check whether any AOP proxies have been created yet.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.framework.AdvisedSupport
| |||||||||||
From class
org.springframework.aop.framework.ProxyConfig
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.TargetClassAware
| |||||||||||
From interface
org.springframework.aop.framework.Advised
|
Create a new ProxyCreatorSupport instance.
Create a new ProxyCreatorSupport instance.
aopProxyFactory | the AopProxyFactory to use |
---|
Add the given AdvisedSupportListener to this proxy configuration.
listener | the listener to register |
---|
Remove the given AdvisedSupportListener from this proxy configuration.
listener | the listener to deregister |
---|
Customize the AopProxyFactory, allowing different strategies to be dropped in without changing the core framework.
Default is DefaultAopProxyFactory
, using dynamic JDK
proxies or CGLIB proxies based on the requirements.
Propagate advice change event to all AdvisedSupportListeners.
Subclasses should call this to get a new AOP proxy. They should not
create an AOP proxy with this
as an argument.
Subclasses can call this to check whether any AOP proxies have been created yet.