Interface HotSwappableInterceptedProxy<T>
- Type Parameters:
T- The declaring type
- All Superinterfaces:
Intercepted, io.micronaut.inject.proxy.InterceptedBean, io.micronaut.inject.proxy.InterceptedBeanProxy<T>, InterceptedProxy<T>, io.micronaut.inject.qualifiers.Qualified<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
- Since:
- 1.0
-
Method Summary
Methods inherited from interface io.micronaut.inject.proxy.InterceptedBean
interceptedMethodsMethods inherited from interface InterceptedProxy
clearCachedInterceptedTarget, hasCachedInterceptedTarget, interceptedTargetMethods inherited from interface io.micronaut.inject.qualifiers.Qualified
$withBeanQualifier
-
Method Details
-
swap
-