Skip to content
Snippets Groups Projects
Commit 645e4a88 authored by felmer's avatar felmer
Browse files

SE-170 Refactoring MaintenanceTask Framework, taking code from YeastX...

SE-170 Refactoring MaintenanceTask Framework, taking code from YeastX MaintenanceTask an generalize it

SVN: 13728
parent 7ba4b236
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ import java.sql.PreparedStatement; ...@@ -20,6 +20,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet; import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.util.List; import java.util.List;
import java.util.Properties;
import org.apache.commons.lang.StringEscapeUtils; import org.apache.commons.lang.StringEscapeUtils;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
...@@ -40,6 +41,8 @@ import ch.systemsx.cisd.yeastx.db.DBUtils; ...@@ -40,6 +41,8 @@ import ch.systemsx.cisd.yeastx.db.DBUtils;
* *
* @author Izabela Adamczyk * @author Izabela Adamczyk
*/ */
// TODO 2009-12-07, Franz-Josef Elmer: Extend from DataSetDeletionMaintenanceTask and use
// properties to setup database configuration
public class MetabolDatabaseUpdater implements IMaintenanceTask public class MetabolDatabaseUpdater implements IMaintenanceTask
{ {
...@@ -69,7 +72,7 @@ public class MetabolDatabaseUpdater implements IMaintenanceTask ...@@ -69,7 +72,7 @@ public class MetabolDatabaseUpdater implements IMaintenanceTask
openBISService = ServiceProvider.getOpenBISService(); openBISService = ServiceProvider.getOpenBISService();
} }
public void setUp(String pluginName) public void setUp(String pluginName, Properties properties)
{ {
operationLog.info("Plugin initialized: " + pluginName); operationLog.info("Plugin initialized: " + pluginName);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment