changes due to LoadClientAppsJob changes for ClientApp interface

This commit is contained in:
zzz
2012-10-13 12:51:24 +00:00
parent d198ae9ef1
commit 8f17b73091
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ public class ConfigClientsHandler extends FormHandler {
return; return;
} }
ClientAppConfig ca = clients.get(i); ClientAppConfig ca = clients.get(i);
LoadClientAppsJob.runClient(ca.className, ca.clientName, LoadClientAppsJob.parseArgs(ca.args), _log); LoadClientAppsJob.runClient(ca.className, ca.clientName, LoadClientAppsJob.parseArgs(ca.args), _context, _log);
addFormNotice(_("Client") + ' ' + _(ca.clientName) + ' ' + _("started") + '.'); addFormNotice(_("Client") + ' ' + _(ca.clientName) + ' ' + _("started") + '.');
} }

View File

@ -652,7 +652,7 @@ public class PluginStarter implements Runnable {
// quick check, will throw ClassNotFoundException on error // quick check, will throw ClassNotFoundException on error
LoadClientAppsJob.testClient(app.className, cl); LoadClientAppsJob.testClient(app.className, cl);
// run this guy now // run this guy now
LoadClientAppsJob.runClient(app.className, app.clientName, argVal, log, pluginThreadGroup, cl); LoadClientAppsJob.runClient(app.className, app.clientName, argVal, ctx, log, pluginThreadGroup, cl);
} else { } else {
// If there is some delay, there may be a really good reason for it. // If there is some delay, there may be a really good reason for it.
// Loading a class would be one of them! // Loading a class would be one of them!