Class ActuatorLenientFallbackTrace
java.lang.Object
com.broadleafcommerce.common.extension.data.ActuatorLenientFallbackTrace
- All Implemented Interfaces:
LenientFallbackTrace
,org.springframework.core.Ordered
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:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.common.extension.data.LenientFallbackTrace
getOrder
-
Constructor Details
-
ActuatorLenientFallbackTrace
public ActuatorLenientFallbackTrace()
-
-
Method Details
-
allow
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 interfaceLenientFallbackTrace
- Parameters:
exception
- The exception that would normally be thrown if no route was available.- Returns:
- Whether to allow a default routable component.
-