public String reloadModule(String moduleName) {
ModuleOperation operation = moduleOperationRegistry.getOperation(ModuleOperationConstants.ReloadModuleNamedLikeOperation);
try {
ModuleOperationResult execute = operation.execute(new ModuleOperationInput(null, null, moduleName));
if (execute.isSuccess()) {
return "Successfully reloaded " + execute.getOutputParameters().get("moduleName");
} else {
return "Could not find module " + moduleName;
}
}
catch (Throwable e) {