public class LoginInfoStoreFactory extends Object
Modifier and Type | Method and Description |
---|---|
static LoginInfoStore |
getDefaultStore() |
static LoginInfoStore |
getStore(String storeImplClassName)
Returns the store that is represented by given class name.
|
public static LoginInfoStore getStore(String storeImplClassName) throws StoreException, ClassNotFoundException, IllegalAccessException, InstantiationException
LoginInfoStore
interface. If a null is passed, an instance of the default
store MemoryHashLoginInfoStore
is returned.storeImplClassName
- fully qualified name of the class implementing LoginInfoStore. May be null.IllegalArgumentException
- if the parameter does not implement LoginInfoStoreStoreException
- if the construction of default store results in problemsClassNotFoundException
- if the given class could not be loadedIllegalAccessException
InstantiationException
public static LoginInfoStore getDefaultStore() throws StoreException
StoreException
Copyright © 2019. All rights reserved.