|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.utils.SettingsFactory<DBSpecifics>
dk.netarkivet.archive.arcrepositoryadmin.DBSpecifics
dk.netarkivet.archive.arcrepositoryadmin.MySQLSpecifics
public class MySQLSpecifics
Field Summary | |
---|---|
(package private) org.apache.commons.logging.Log |
log
The log. |
Constructor Summary | |
---|---|
MySQLSpecifics()
|
Method Summary | |
---|---|
void |
backupDatabase(java.sql.Connection c,
java.io.File backupDir)
Backup the database. |
java.lang.String |
getDriverClassName()
Get the name of the JDBC driver class that handles interfacing to this server. |
void |
shutdownDatabase()
Shutdown the database system, if running in embedded mode. |
Methods inherited from class dk.netarkivet.archive.arcrepositoryadmin.DBSpecifics |
---|
getInstance |
Methods inherited from class dk.netarkivet.common.utils.SettingsFactory |
---|
getInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
org.apache.commons.logging.Log log
Constructor Detail |
---|
public MySQLSpecifics()
Method Detail |
---|
public void shutdownDatabase()
DBSpecifics
shutdownDatabase
in class DBSpecifics
public void backupDatabase(java.sql.Connection c, java.io.File backupDir) throws java.sql.SQLException, PermissionDenied
DBSpecifics
backupDatabase
in class DBSpecifics
c
- The connection to the database.backupDir
- Directory to which the database should be backed up
java.sql.SQLException
- On SQL trouble backing up database
PermissionDenied
- if the directory cannot be created.public java.lang.String getDriverClassName()
DBSpecifics
getDriverClassName
in class DBSpecifics
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |