Package io.micronaut.runtime.context.scope.refresh
package io.micronaut.runtime.context.scope.refresh
Refresh handling.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionAn
ApplicationEvent
for handling refreshes.A convenience interface that can be implemented if a component needs to listen forRefreshEvent
where the implementation is only interested in a limited set of configuration prefixes.AMethodInterceptor
that will lock the bean preventing it from being destroyed by aRefreshEvent
until the method completes.Implementation ofRefreshable
.As an optimization, RefreshScope is disabled for function and android environments when not under test.