Class 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 Detail

      • DataRouteContext

        public DataRouteContext()
    • Method Detail

      • clear

        public static void clear()
      • getLookupKey

        public String getLookupKey()
      • setLookupKey

        public void setLookupKey​(String lookupKey)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object