Class MTCondition
java.lang.Object
org.broadleafcommerce.common.demo.MTCondition
- All Implemented Interfaces:
org.springframework.context.annotation.Condition
Condition to use if the Multi-Tenant module is available at runtime
- Author:
- Jeff Fischer, Phillip Verheyden (phillipuniverse)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
-
Field Details
-
CONDITION_CLASSES
-
-
Constructor Details
-
MTCondition
public MTCondition()
-
-
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
-