Class LoomClientEnabledCondition

java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
com.loomcache.springboot.autoconfigure.LoomClientEnabledCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition

public class LoomClientEnabledCondition extends org.springframework.boot.autoconfigure.condition.SpringBootCondition implements org.springframework.context.annotation.Condition
Enables the auto-configured Loom client by default for client-only apps, but requires an explicit opt-in when the embedded server is enabled.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.autoconfigure.condition.ConditionOutcome
    getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
     

    Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition

    anyMatches, logOutcome, matches, matches

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.annotation.Condition

    matches
  • Constructor Details

    • LoomClientEnabledCondition

      public LoomClientEnabledCondition()
  • Method Details

    • getMatchOutcome

      public org.springframework.boot.autoconfigure.condition.ConditionOutcome getMatchOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Specified by:
      getMatchOutcome in class org.springframework.boot.autoconfigure.condition.SpringBootCondition