AbstractTypeServerPluginContainer pc = master.getPluginContainerByPlugin(pluginKey);
if (pc != null) {
try {
pc.reloadPlugin(pluginKey, true);
try {
pc.schedulePluginJobs(pluginKey);
} catch (Exception e) {
// note that we still will report this plugin as enabled - its running
// in the plugin container, its just that we couldn't schedule its jobs
log.warn("Failed to schedule jobs for plugin [" + pluginKey + "]", e);
}