com.uwyn.rife.authentication.remembermanagers
Class DatabaseRememberFactory
java.lang.Object
com.uwyn.rife.database.DbQueryManagerFactory
com.uwyn.rife.authentication.remembermanagers.DatabaseRememberFactory
- All Implemented Interfaces:
- RememberManagerFactory
public class DatabaseRememberFactory
- extends DbQueryManagerFactory
- implements RememberManagerFactory
Factory for DatabaseRemember manager instances that creates singletons
based on the Datasource.
- Since:
- 1.0
- Version:
- $Revision: 3643 $
- Author:
- Steven Grimm (koreth[remove] at midwinter dot com), Geert Bevin (gbevin[remove] at uwyn dot com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MANAGER_PACKAGE_NAME
public static final String MANAGER_PACKAGE_NAME
- The package name of the datasource-specific implementations
DatabaseRememberFactory
public DatabaseRememberFactory()
getInstance
public static DatabaseRemember getInstance(Datasource datasource)
- Return an instance of
DatabaseRemember for the provided
Datasource.
- Parameters:
datasource - the datasource that will be used to create the manager
- Returns:
- the requested
DatabaseRemember instance - Since:
- 1.0
getRememberManager
public DatabaseRemember getRememberManager(HierarchicalProperties properties)
throws PropertyValueException
- Description copied from interface:
RememberManagerFactory
- Returns the manager specified by properties.
The specific properties that are used are determined by the
implementation class.
- Specified by:
getRememberManager in interface RememberManagerFactory
- Parameters:
properties - the properties that will setup the manager
- Throws:
PropertyValueException - when an error occurred during the retrieval
of the property values
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.