createAopProxy()
| Modifier and Type | Field and Description |
|---|---|
| private boolean | active
Set to true when the first AOP proxy has been created. |
| private AopProxyFactory | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ProxyCreatorSupport(AopProxyFactory
the AopProxyFactory to use aopProxyFactory)Create a new ProxyCreatorSupport instance. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | addListener(AdvisedSupportListener
the listener to register listener)Add the given AdvisedSupportListener to this proxy configuration. |
| protected void | adviceChanged()
Overrides org. |
| protected final synchronized AopProxy | |
| public AopProxyFactory | |
| protected final synchronized boolean | |
| public void | removeListener(AdvisedSupportListener
the listener to remove listener)Remove the given AdvisedSupportListener from this proxy configuration. |
| public void | setAopProxyFactory(AopProxyFactory aopProxyFactory)
Customize the AopProxyFactory, allowing different strategies to be dropped in without changing the core framework. |
| active | back to summary |
|---|---|
| private boolean active Set to true when the first AOP proxy has been created. | |
| aopProxyFactory | back to summary |
|---|---|
| private AopProxyFactory aopProxyFactory | |
| listeners | back to summary |
|---|---|
| private final List<AdvisedSupportListener> listeners | |
| ProxyCreatorSupport | back to summary |
|---|---|
| public ProxyCreatorSupport() Create a new ProxyCreatorSupport instance. | |
| ProxyCreatorSupport | back to summary |
|---|---|
| public ProxyCreatorSupport(AopProxyFactory aopProxyFactory) Create a new ProxyCreatorSupport instance.
| |
| activate | back to summary |
|---|---|
| private void activate() Activate this proxy configuration.
| |
| addListener | back to summary |
|---|---|
| public void addListener(AdvisedSupportListener listener) Add the given AdvisedSupportListener to this proxy configuration.
| |
| adviceChanged | back to summary |
|---|---|
| protected void adviceChanged() Overrides org. Propagate advice change event to all AdvisedSupportListeners.
| |
| createAopProxy | back to summary |
|---|---|
| protected final synchronized AopProxy createAopProxy() Subclasses should call this to get a new AOP proxy. They should not
create an AOP proxy with | |
| getAopProxyFactory | back to summary |
|---|---|
| public AopProxyFactory getAopProxyFactory() Return the AopProxyFactory that this ProxyConfig uses. | |
| isActive | back to summary |
|---|---|
| protected final synchronized boolean isActive() Subclasses can call this to check whether any AOP proxies have been created yet. | |
| removeListener | back to summary |
|---|---|
| public void removeListener(AdvisedSupportListener listener) Remove the given AdvisedSupportListener from this proxy configuration.
| |
| setAopProxyFactory | back to summary |
|---|---|
| public void setAopProxyFactory(AopProxyFactory aopProxyFactory) Customize the AopProxyFactory, allowing different strategies to be dropped in without changing the core framework. Default is | |