Class ActuatorLenientFallbackTrace

java.lang.Object
com.broadleafcommerce.common.extension.data.ActuatorLenientFallbackTrace
All Implemented Interfaces:
LenientFallbackTrace, org.springframework.core.Ordered

public class ActuatorLenientFallbackTrace extends Object implements LenientFallbackTrace
Allow lenient fallback on a default DataRouteSupporting in a composite routing component when it is determined that the current call stack is part of a Spring actuator call.
Author:
Jeff Fischer
See Also:
  • Constructor Details

    • ActuatorLenientFallbackTrace

      public ActuatorLenientFallbackTrace()
  • Method Details

    • allow

      public boolean allow(Exception exception)
      Description copied from interface: LenientFallbackTrace
      Based on the exception, should the composite routing component allow a default routable component to be used.
      Specified by:
      allow in interface LenientFallbackTrace
      Parameters:
      exception - The exception that would normally be thrown if no route was available.
      Returns:
      Whether to allow a default routable component.