Class DatabaseResources

java.lang.Object
rife.database.DbQueryManager
rife.resources.DatabaseResources
All Implemented Interfaces:
Cloneable, ResourceFinder, ResourceWriter

public abstract class DatabaseResources extends DbQueryManager implements ResourceFinder, ResourceWriter
This class offers ResourceFinder and ResourceWriter capabilities for resources that are stored in a database. The relevant database is specified through a Datasource instance at construction.

While the table can be configured through the TABLE_RESOURCES configuration setting, the structure of the table is fixed. It can be installed with the install() method and removed with the remove() method. The latter will implicitly erase all the resources that have been stored in the database table.

Since:
1.0
See Also: