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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
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:
matchesin interfaceorg.springframework.context.annotation.Condition
-