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 Details

    • switchProviderFactory

      void switchProviderFactory(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(String providerFactoryBeanName)
      Parameters:
      providerFactoryBeanName - bean name to check
      Returns:
      true, only if the given provider factory is available