|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.pow2.user.dao.UserDAOFactory
"Creator" class for UserDAO objects.
Field Summary | |
static String |
KEY_USER_DATA_PROVIDER
user dao provider key |
static String |
USER_DATA_PROVIDER_LDAP
LDAP user dao provider |
static String |
USER_DATA_PROVIDER_RDBMS
RDBMS user dao provider |
Method Summary | |
String |
getProviderType()
Get the current User data provider type, asspecified by the Prefs object. |
UserDAO |
getUserDAO()
Return an UserDAO object whose subclass is specified by the defaultProvider member attribute. |
UserDAO |
getUserDAO(int provider)
Return an UserDAO object whose subclass is specified by the input provider parameter. |
static UserDAOFactory |
instance()
Get the unique instance of UserDAOFactory class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String KEY_USER_DATA_PROVIDER
public static final String USER_DATA_PROVIDER_RDBMS
public static final String USER_DATA_PROVIDER_LDAP
Method Detail |
public static UserDAOFactory instance()
public UserDAO getUserDAO()
defaultProvider
member attribute.
public UserDAO getUserDAO(int provider)
provider
parameter.
provider
- specifies the UserDAO class type.
provider
parameter doesn't match an UserDAO
subclass.public String getProviderType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |