Interface SwitchableProviderFactory
-
- All Superinterfaces:
ProviderFactory
- All Known Implementing Classes:
SwitchableProviderFactoryImpl
public interface SwitchableProviderFactory extends ProviderFactory
Retrieves providers and allows for switching between different provider factories
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisProviderFactoryAvailable(java.lang.String providerFactoryBeanName)voidswitchProviderFactory(java.lang.String providerFactoryBeanName)Activates the specified provider factory.-
Methods inherited from interface de.hybris.platform.sap.productconfig.runtime.interf.ProviderFactory
getAnalyticsProvider, getConfigurationProvider, getPricingParameter, getPricingProvider, getProductCsticAndValueParameterProvider
-
-
-
-
Method Detail
-
switchProviderFactory
void switchProviderFactory(java.lang.String providerFactoryBeanName)
Activates the specified provider factory. After calling this method all provider requests will be processed by the specified factory.- Parameters:
providerFactoryBeanName- provider factory to activate
-
isProviderFactoryAvailable
boolean isProviderFactoryAvailable(java.lang.String providerFactoryBeanName)
- Parameters:
providerFactoryBeanName- bean name to check- Returns:
true, only if the given provider factory is available
-
-