Class LoginInfoStoreFactory
java.lang.Object
com.sun.appserv.management.client.prefs.LoginInfoStoreFactory
A factory class to create instances of LoginInfoStore.
- Since:
- Appserver 9.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic LoginInfoStorestatic LoginInfoStoreReturns the store that is represented by given class name.
-
Method Details
-
getStore
public static LoginInfoStore getStore(String storeImplClassName) throws StoreException, ClassNotFoundException, IllegalAccessException, InstantiationException Returns the store that is represented by given class name. The parameter must implement theLoginInfoStoreinterface. If a null is passed, an instance of the default storeMemoryHashLoginInfoStoreis returned.- Parameters:
storeImplClassName- fully qualified name of the class implementing LoginInfoStore. May be null.- Returns:
- the instance of LoginInfoStore of your choice
- Throws:
IllegalArgumentException- if the parameter does not implement LoginInfoStoreStoreException- if the construction of default store results in problemsClassNotFoundException- if the given class could not be loadedIllegalAccessExceptionInstantiationException
-
getDefaultStore
- Throws:
StoreException
-