Class DatabaseSessionsFactory
java.lang.Object
rife.database.DbQueryManagerFactory
rife.authentication.sessionmanagers.DatabaseSessionsFactory
Factory for
DatabaseSessions
manager instances that creates singletons
based on the Datasource
.- Since:
- 1.0
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The package name of the datasource-specific implementations -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseSessions
instance
(Datasource datasource) Return an instance ofDatabaseSessions
for the providedDatasource
.Methods inherited from class rife.database.DbQueryManagerFactory
instance, instance
-
Field Details
-
MANAGER_PACKAGE_NAME
The package name of the datasource-specific implementations
-
-
Constructor Details
-
DatabaseSessionsFactory
public DatabaseSessionsFactory()
-
-
Method Details
-
instance
Return an instance ofDatabaseSessions
for the providedDatasource
.- Parameters:
datasource
- the datasource that will be used to create the manager- Returns:
- the requested
DatabaseSessions
instance - Since:
- 1.0
-