Class BreadcrumbServiceExtensionManager
java.lang.Object
org.broadleafcommerce.common.extension.ExtensionManager<BreadcrumbServiceExtensionHandler>
org.broadleafcommerce.common.breadcrumbs.service.BreadcrumbServiceExtensionManager
- All Implemented Interfaces:
InvocationHandler
@Component("blBreadcrumbServiceExtensionManager")
public class BreadcrumbServiceExtensionManager
extends ExtensionManager<BreadcrumbServiceExtensionHandler>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
static String
As each handler runs, it can work with the ContextMap from the ExtensionResultHolder to get the URL as other handlers have modified it.Fields inherited from class org.broadleafcommerce.common.extension.ExtensionManager
extensionHandler, handlers, handlersSorted, LOCK_OBJECT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
This extension manager works the handlers in reverse priority order.Methods inherited from class org.broadleafcommerce.common.extension.ExtensionManager
continueOnHandled, execute, getHandlers, getPriority, getProxy, invoke, registerHandler, setHandlers, shouldContinue
-
Field Details
-
CONTEXT_PARAM_STRIPPED_URL
As each handler runs, it can work with the ContextMap from the ExtensionResultHolder to get the URL as other handlers have modified it.Given that handlers run in reverse priority order
Handlers may use the fullUrl passed into the method or work with these URLs.
-
CONTEXT_PARAM_STRIPPED_PARAMS
-
-
Constructor Details
-
BreadcrumbServiceExtensionManager
public BreadcrumbServiceExtensionManager()
-
-
Method Details
-
sortHandlers
protected void sortHandlers()This extension manager works the handlers in reverse priority order. It starts with the last crumb and works its way back.- Overrides:
sortHandlers
in classExtensionManager<BreadcrumbServiceExtensionHandler>
-