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 defaultDataRouteSupporting
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:
LenientFallbackTrace
-
-
Constructor Summary
Constructors Constructor Description ActuatorLenientFallbackTrace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allow(Exception exception)
Based on the exception, should the composite routing component allow a default routable component to be used.-
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
-
-
-
-
Method Detail
-
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 interfaceLenientFallbackTrace
- Parameters:
exception
- The exception that would normally be thrown if no route was available.- Returns:
- Whether to allow a default routable component.
-
-