Class RefreshScopeCondition

java.lang.Object
io.micronaut.runtime.context.scope.refresh.RefreshScopeCondition
All Implemented Interfaces:
io.micronaut.context.condition.Condition, Predicate<io.micronaut.context.condition.ConditionContext>

public class RefreshScopeCondition extends Object implements io.micronaut.context.condition.Condition
As an optimization, RefreshScope is disabled for function and android environments when not under test.
Since:
4.2.2
  • Constructor Details

    • RefreshScopeCondition

      public RefreshScopeCondition()
  • Method Details

    • matches

      public boolean matches(io.micronaut.context.condition.ConditionContext context)
      Specified by:
      matches in interface io.micronaut.context.condition.Condition