@Singleton @Requires(notEnv={"function","android"}) public class RefreshInterceptor extends Object implements MethodInterceptor
A MethodInterceptor that will lock the bean preventing it from being destroyed by a
 RefreshEvent until the method completes.
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
RefreshInterceptor(RefreshScope refreshScope)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
intercept(MethodInvocationContext context)
Extended version of the  
MethodInterceptor.intercept(InvocationContext) method that accepts a MethodInvocationContext. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptpublic RefreshInterceptor(RefreshScope refreshScope)
refreshScope - To allow target beans to be refreshed@Nullable public Object intercept(MethodInvocationContext context)
MethodInterceptorMethodInterceptor.intercept(InvocationContext) method that accepts a MethodInvocationContext.intercept in interface MethodInterceptorcontext - The context