com.sun.identity.plugin.datastore
クラス DataStoreProviderManager

java.lang.Object
  上位を拡張 com.sun.identity.plugin.datastore.DataStoreProviderManager

public final class DataStoreProviderManager
extends Object

This is a singleton class used to manage DataStore providers.


フィールドの概要
static String DEFAULT
          Default.
static String DEFAULT_PROVIDER_ATTR
          Attribute name for default provider.
static String PROVIDER_ATTR_PREFIX
          Prefix for provider attribute.
 
メソッドの概要
 DataStoreProvider getDataStoreProvider(String componentName)
          Gets the provider associated with the component.
static DataStoreProviderManager getInstance()
          Gets the singleton instance of DataStoreProviderManager.
 

フィールドの詳細

DEFAULT

public static final String DEFAULT
Default.

関連項目:
定数フィールド値

PROVIDER_ATTR_PREFIX

public static final String PROVIDER_ATTR_PREFIX
Prefix for provider attribute.

関連項目:
定数フィールド値

DEFAULT_PROVIDER_ATTR

public static final String DEFAULT_PROVIDER_ATTR
Attribute name for default provider.

関連項目:
定数フィールド値
メソッドの詳細

getInstance

public static DataStoreProviderManager getInstance()
                                            throws DataStoreProviderException
Gets the singleton instance of DataStoreProviderManager.

戻り値:
The singleton DataStoreProviderManager instance
例外:
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.

パラメータ:
componentName - component name, such as saml, saml2, id-ff, disco, authnsvc, and idpp.
戻り値:
datastore provider for the calling component
例外:
DataStoreProviderException - if an error occurred.