Class OnEhCacheCondition
java.lang.Object
org.broadleafcommerce.common.extensibility.cache.ehcache.OnEhCacheCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
- Direct Known Subclasses:
OnEhCacheMissingCondition
public class OnEhCacheCondition
extends Object
implements org.springframework.context.annotation.Condition
Condition for checking if ehcache is on the classpath
- Author:
- Jay Aisenbrey (cja769)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Constructor Details
-
OnEhCacheCondition
public OnEhCacheCondition()
-
-
Method Details
-
matches
public boolean matches(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Specified by:
matches
in interfaceorg.springframework.context.annotation.Condition
-