Class DiscriminatedPropertyContext
java.lang.Object
com.broadleafcommerce.common.extension.environment.DiscriminatedPropertyContext
Thread local context for holding any tenant related information for the current request.
Generally set via
DiscriminatedPropertyFilter
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
static void
clear()
boolean
static DiscriminatedPropertyContext
int
hashCode()
void
void
reportUsage
(Map<String, String> information) void
setApplicationId
(String applicationId) void
setCountByProperty
(Map<String, Long> countByProperty) void
setTenantId
(String tenantId) toString()
-
Constructor Details
-
DiscriminatedPropertyContext
public DiscriminatedPropertyContext()
-
-
Method Details
-
getContext
-
clear
public static void clear() -
increment
-
reportUsage
-
getTenantId
-
getApplicationId
-
getCountByProperty
-
setTenantId
-
setApplicationId
-
setCountByProperty
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-