T - The declaring typepublic interface HotSwappableInterceptedProxy<T> extends InterceptedProxy<T>
Extended version of InterceptedProxy that allows swapping out the previous instance.
At compile time an implementation is generated that uses a ReentrantReadWriteLock to maintain a reference to the target of the proxy
| Modifier and Type | Method and Description |
|---|---|
T |
swap(T newInstance)
Swaps the underlying proxied instance for a new instance.
|
hasCachedInterceptedTarget, interceptedTarget$withBeanQualifier