/*
* Copyright 2001-2008 Geert Bevin <gbevin[remove] at uwyn dot com>
* Licensed under the Apache License, Version 2.0 (the "License")
* $Id: DatabaseTextStoreFactory.java 3918 2008-04-14 17:35:35Z gbevin $
*/
package com.uwyn.rife.cmf.dam.contentstores;
import com.uwyn.rife.database.Datasource;
import com.uwyn.rife.database.DbQueryManagerCache;
import com.uwyn.rife.database.DbQueryManagerFactory;
public abstract class DatabaseTextStoreFactory extends DbQueryManagerFactory
{
public static final String MANAGER_PACKAGE_NAME = DatabaseTextStoreFactory.class.getPackage().getName()+".textstoredrivers.";
private static DbQueryManagerCache mCache = new DbQueryManagerCache();
public static DatabaseTextStore getInstance(Datasource datasource)
{
return (DatabaseTextStore)getInstance(MANAGER_PACKAGE_NAME, mCache, datasource);
}
}