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
FieldsModifier and TypeFieldDescriptionstatic final StringThe package name of the datasource-specific implementations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseSessionsinstance(Datasource datasource) Return an instance ofDatabaseSessionsfor 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 ofDatabaseSessionsfor the providedDatasource.- Parameters:
datasource- the datasource that will be used to create the manager- Returns:
- the requested
DatabaseSessionsinstance - Since:
- 1.0
-