Class DefaultCartEntryActionHandlerRegistry
- java.lang.Object
-
- de.hybris.platform.acceleratorfacades.cart.action.impl.DefaultCartEntryActionHandlerRegistry
-
- All Implemented Interfaces:
CartEntryActionHandlerRegistry
public class DefaultCartEntryActionHandlerRegistry extends java.lang.Object implements CartEntryActionHandlerRegistry
Registry forCartEntryActionHandlerimplementations.
-
-
Constructor Summary
Constructors Constructor Description DefaultCartEntryActionHandlerRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<CartEntryAction,CartEntryActionHandler>getCartEntryActionHandlerMap()CartEntryActionHandlergetHandler(CartEntryAction cartEntryAction)Returns the configured handler for the given action type.voidsetCartEntryActionHandlerMap(java.util.Map<CartEntryAction,CartEntryActionHandler> cartEntryActionHandlerMap)
-
-
-
Method Detail
-
getHandler
public CartEntryActionHandler getHandler(CartEntryAction cartEntryAction)
Description copied from interface:CartEntryActionHandlerRegistryReturns the configured handler for the given action type.- Specified by:
getHandlerin interfaceCartEntryActionHandlerRegistry- Parameters:
cartEntryAction- the action to get the handler implementation for- Returns:
- the matching handler for the goven action
-
getCartEntryActionHandlerMap
protected java.util.Map<CartEntryAction,CartEntryActionHandler> getCartEntryActionHandlerMap()
-
setCartEntryActionHandlerMap
public void setCartEntryActionHandlerMap(java.util.Map<CartEntryAction,CartEntryActionHandler> cartEntryActionHandlerMap)
-
-