Class DefaultProductConfigurationHandlerFactory
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.impl.DefaultProductConfigurationHandlerFactory
-
- All Implemented Interfaces:
ProductConfigurationHandlerFactory
public class DefaultProductConfigurationHandlerFactory extends java.lang.Object implements ProductConfigurationHandlerFactory
Default implementation ofProductConfigurationHandlerFactory.
-
-
Constructor Summary
Constructors Constructor Description DefaultProductConfigurationHandlerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Map<java.lang.String,ProductConfigurationHandler>getRegisteredHandlers()ProductConfigurationHandlerhandlerOf(ConfiguratorType configuratorType)FindProductConfigurationHandlerresponsible for given configuration type.voidsetRegisteredHandlers(java.util.Map<java.lang.String,ProductConfigurationHandler> registeredHandlers)
-
-
-
Method Detail
-
handlerOf
public ProductConfigurationHandler handlerOf(ConfiguratorType configuratorType)
Description copied from interface:ProductConfigurationHandlerFactoryFindProductConfigurationHandlerresponsible for given configuration type.- Specified by:
handlerOfin interfaceProductConfigurationHandlerFactory- Parameters:
configuratorType- configuration type- Returns:
- handler of
nullif there is no handler registered for this configuration type.
-
getRegisteredHandlers
protected java.util.Map<java.lang.String,ProductConfigurationHandler> getRegisteredHandlers()
-
setRegisteredHandlers
public void setRegisteredHandlers(java.util.Map<java.lang.String,ProductConfigurationHandler> registeredHandlers)
-
-