Class RefreshInterceptor

java.lang.Object
io.micronaut.runtime.context.scope.refresh.RefreshInterceptor
All Implemented Interfaces:
Interceptor, MethodInterceptor, Ordered

@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.

Since:
1.0
Author:
Graeme Rocher