Class CachingEnabledCondition

java.lang.Object
com.oracle.coherence.spring.boot.autoconfigure.CachingEnabledCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition

public class CachingEnabledCondition extends Object implements org.springframework.context.annotation.Condition
A Spring Condition that matches if the EnableCaching annotation is specified in the application context.
Since:
3.0
Author:
Gunnar Hillert
  • Constructor Details

    • CachingEnabledCondition

      public CachingEnabledCondition()
  • Method Details

    • matches

      public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Specified by:
      matches in interface org.springframework.context.annotation.Condition