Class DataRouteContext
- java.lang.Object
-
- com.broadleafcommerce.common.extension.data.DataRouteContext
-
public class DataRouteContext extends Object
Thread local container defining a key used by a composite data routing component to narrow to a single underlying routable component. For example, with JPA, this would be an implementation of Spring's AbstractRoutingDataSource.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description DataRouteContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)static voidclear()booleanequals(Object o)static DataRouteContextgetContext()StringgetLookupKey()inthashCode()voidsetLookupKey(String lookupKey)StringtoString()
-
-
-
Method Detail
-
getContext
public static DataRouteContext getContext()
-
clear
public static void clear()
-
getLookupKey
public String getLookupKey()
-
setLookupKey
public void setLookupKey(String lookupKey)
-
canEqual
protected boolean canEqual(Object other)
-
-