@Singleton 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.
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 aMethodInvocationContext. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptpublic RefreshInterceptor(RefreshScope refreshScope)
refreshScope - To allow target beans to be refreshedpublic Object intercept(MethodInvocationContext context)
MethodInterceptorMethodInterceptor.intercept(InvocationContext) method that accepts a MethodInvocationContext.intercept in interface MethodInterceptorcontext - The context