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 boolean
canEqual(Object other)
static void
clear()
boolean
equals(Object o)
static DataRouteContext
getContext()
String
getLookupKey()
int
hashCode()
void
setLookupKey(String lookupKey)
String
toString()
-
-
-
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)
-
-