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 Details

    • DataRouteContext

      public DataRouteContext()
  • Method Details

    • getContext

      public static DataRouteContext getContext()
    • clear

      public static void clear()
    • getLookupKey

      public String getLookupKey()
    • setLookupKey

      public void setLookupKey(String lookupKey)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object