public String reloadModule(String moduleName) {
Assert.notNull(applicationManager, "applicationManager cannot be null");
Assert.notNull(moduleOperationRegistry, "moduleOperationRegistry cannot be null");
ModuleOperation operation = moduleOperationRegistry.getOperation(ModuleOperationConstants.ReloadModuleNamedLikeOperation);
try {
Application application = applicationManager.getCurrentApplication();
ModuleOperationResult execute = operation.execute(application, new ModuleOperationInput(null, null, moduleName));
TransitionResultSet transitionResultSet = execute.getTransitionResultSet();
if (transitionResultSet.hasResults()) {
if (transitionResultSet.isSuccess()) {
return "Successfully reloaded " + execute.getOutputParameters().get("moduleName");