Class DataStoreProviderManager

java.lang.Object
com.sun.identity.plugin.datastore.DataStoreProviderManager

@SupportedAll public final class DataStoreProviderManager extends Object
This is a singleton class used to manage DataStore providers.
  • Field Details

  • Method Details

    • getInstance

      public static DataStoreProviderManager getInstance() throws DataStoreProviderException
      Gets the singleton instance of DataStoreProviderManager.
      Returns:
      The singleton DataStoreProviderManager instance
      Throws:
      DataStoreProviderException - if unable to get the singleton DataStoreProviderManager instance.
    • getDataStoreProvider

      public DataStoreProvider getDataStoreProvider(String componentName) throws DataStoreProviderException
      Gets the provider associated with the component. When null componentName is passed in, default provider is returned.
      Parameters:
      componentName - component name, such as saml, saml2, id-ff, disco, authnsvc, and idpp.
      Returns:
      datastore provider for the calling component
      Throws:
      DataStoreProviderException - if an error occurred.