| java.lang.Object com.uwyn.rife.database.DbQueryManagerFactory
All known Subclasses: com.uwyn.rife.cmf.dam.contentstores.DatabaseTextStoreFactory, com.uwyn.rife.authentication.sessionmanagers.DatabaseSessionsFactory, com.uwyn.rife.scheduler.taskoptionmanagers.DatabaseTaskoptionsFactory, com.uwyn.rife.authentication.sessionvalidators.DatabaseSessionValidatorFactory, com.uwyn.rife.cmf.dam.contentstores.DatabaseRawStoreFactory, com.uwyn.rife.resources.DatabaseResourcesFactory, com.uwyn.rife.scheduler.taskmanagers.DatabaseTasksFactory, com.uwyn.rife.database.TestDbQueryManagerFactoryImpl, com.uwyn.rife.cmf.dam.contentstores.DatabaseImageStoreFactory, com.uwyn.rife.authentication.remembermanagers.DatabaseRememberFactory, com.uwyn.rife.cmf.dam.contentmanagers.DatabaseContentFactory, com.uwyn.rife.authentication.credentialsmanagers.DatabaseUsersFactory, com.uwyn.rife.mail.dam.DatabaseMailQueueFactory, com.uwyn.rife.scheduler.schedulermanagers.DatabaseSchedulerFactory,
DbQueryManagerFactory | abstract public class DbQueryManagerFactory (Code) | | This class allows for
DbQueryManager s to be created more
dynamically and with more features than by direct instantiation.
By using the DbQueryManagerFactory ,
DbQueryManager child classes can have custom methods that are
implemented by different "drivers", based on the database software behind
the
Datasource . Database "drivers" are looked up through the
manager's classpath according to the package name and the encoded class
name of the JDBC driver (dots are replaced by underscores). The default, or
"generic" driver, must be created under this package and will be used when
no specific driver can be found for a particular Datasource .
All the created DbQueryManagers are cached in the provided cache and are
re-used on successive calls rather than being re-instantiated.
author: JR Boyens (jboyens[remove] at uwyn dot com) author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3634 $ since: 1.0 |
getInstance | protected static DbQueryManager getInstance(String managerPackageName, DbQueryManagerCache cache, Datasource datasource)(Code) | | Get a DbQueryManager instance.
Parameters: managerPackageName - the package name that corresponds to thelocation of the manager Parameters: cache - the cache to be used to cache theDbQueryManager s Parameters: datasource - the datasource to instantiate theDbQueryManager for the created DbQueryManager instance since: 1.0 |
getInstance | protected static DbQueryManager getInstance(String managerPackageName, DbQueryManagerCache cache, Datasource datasource, String identifier)(Code) | | Get a DbQueryManager instance.
Parameters: managerPackageName - the package name that corresponds to thelocation of the manager Parameters: cache - the cache to be used to cache theDbQueryManager s Parameters: datasource - the datasource to instantiate theDbQueryManager for Parameters: identifier - the identifier to be used to uniquely identifythis DbQueryManager the created DbQueryManager instance the created DbQueryManager instance since: 1.0 |
|
|