Class RefreshScopeCondition

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

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

    • RefreshScopeCondition

      public RefreshScopeCondition()
  • Method Details

    • matches

      public boolean matches(ConditionContext context)
      Description copied from interface: Condition
      Check whether a specific condition is met.
      Specified by:
      matches in interface Condition
      Parameters:
      context - The condition context
      Returns:
      True if has been met