Class SSCProviderFactoryImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.ssc.impl.SSCProviderFactoryImpl
-
- All Implemented Interfaces:
ProviderFactory
public class SSCProviderFactoryImpl extends java.lang.Object implements ProviderFactory
SSC implementation of theProviderFactory.
-
-
Constructor Summary
Constructors Constructor Description SSCProviderFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectcreateProviderInstance(java.lang.String providerBean)AnalyticsProvidergetAnalyticsProvider()Retrieves an instance of the analytics providerprotected org.springframework.context.ApplicationContextgetApplicationContext()ConfigurationProvidergetConfigurationProvider()Retrieves an instance of the configuration provider according to the hybris application configuration.java.lang.StringgetConfigurationProviderBeanName()PricingConfigurationParametergetPricingParameter()Retrieve an instance of the pricing parametersPricingProvidergetPricingProvider()Retrieves an instance of the pricing provider according to the hybris application configuration.ProductCsticAndValueParameterProvidergetProductCsticAndValueParameterProvider()Retrieve an instance of the cstic value provider, needed for the backoffice rule editorprotected SSCSessionAccessServicegetSessionAccessService()voidsetAnalyticsProvider(AnalyticsProvider analyticsProvider)voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)used for testsvoidsetConfigurationProviderBeanName(java.lang.String configurationProviderBeanName)voidsetPricingParameter(PricingConfigurationParameter pricingParameter)voidsetPricingProvider(PricingProvider pricingProvider)voidsetProductCsticAndValueParameterProvider(ProductCsticAndValueParameterProvider productCsticAndValueParameterProvider)voidsetSessionAccessService(SSCSessionAccessService sessionAccessService)
-
-
-
Method Detail
-
getConfigurationProvider
public ConfigurationProvider getConfigurationProvider()
Description copied from interface:ProviderFactoryRetrieves an instance of the configuration provider according to the hybris application configuration.- Specified by:
getConfigurationProviderin interfaceProviderFactory- Returns:
- instance of the configuration provider
-
createProviderInstance
protected java.lang.Object createProviderInstance(java.lang.String providerBean)
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext()
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
used for tests
-
getSessionAccessService
protected SSCSessionAccessService getSessionAccessService()
-
getConfigurationProviderBeanName
public java.lang.String getConfigurationProviderBeanName()
-
setConfigurationProviderBeanName
public void setConfigurationProviderBeanName(java.lang.String configurationProviderBeanName)
-
setSessionAccessService
public void setSessionAccessService(SSCSessionAccessService sessionAccessService)
-
getProductCsticAndValueParameterProvider
public ProductCsticAndValueParameterProvider getProductCsticAndValueParameterProvider()
Description copied from interface:ProviderFactoryRetrieve an instance of the cstic value provider, needed for the backoffice rule editor- Specified by:
getProductCsticAndValueParameterProviderin interfaceProviderFactory- Returns:
- instance of the cstic value parameter provider
-
setProductCsticAndValueParameterProvider
public void setProductCsticAndValueParameterProvider(ProductCsticAndValueParameterProvider productCsticAndValueParameterProvider)
-
getPricingParameter
public PricingConfigurationParameter getPricingParameter()
Description copied from interface:ProviderFactoryRetrieve an instance of the pricing parameters- Specified by:
getPricingParameterin interfaceProviderFactory- Returns:
- instance of the pricing parameters
-
setPricingParameter
public void setPricingParameter(PricingConfigurationParameter pricingParameter)
-
getPricingProvider
public PricingProvider getPricingProvider()
Description copied from interface:ProviderFactoryRetrieves an instance of the pricing provider according to the hybris application configuration.- Specified by:
getPricingProviderin interfaceProviderFactory- Returns:
- instance of the pricing provider
-
setPricingProvider
public void setPricingProvider(PricingProvider pricingProvider)
-
getAnalyticsProvider
public AnalyticsProvider getAnalyticsProvider()
Description copied from interface:ProviderFactoryRetrieves an instance of the analytics provider- Specified by:
getAnalyticsProviderin interfaceProviderFactory- Returns:
- instance of the analytics provider
-
setAnalyticsProvider
public void setAnalyticsProvider(AnalyticsProvider analyticsProvider)
-
-