public class PostDeployedModules
extends org.springframework.extensions.webscripts.DeclarativeWebScript
This is the Java controller for the Module Deployment WebScript (/modules/deploy) that handles updates to the module
deployment configuration. The modules to deploy are retrieved from a request as an array of "stringified" JSON objects.
These are then parsed into JSONObject instances and passed to the configured ModuleDeploymentService to
be processed.
| Constructor and Description |
|---|
PostDeployedModules() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.Status status,
org.springframework.extensions.webscripts.Cache cache)
Processes requests to update the module deployment configuration.
|
void |
setModuleDeploymentService(ModuleDeploymentService moduleDeploymentService)
Provided so that the Spring application context can set the
ModuleDeploymentService to use. |
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplateaddModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toStringpublic void setModuleDeploymentService(ModuleDeploymentService moduleDeploymentService)
Provided so that the Spring application context can set the ModuleDeploymentService to use. It is essential that
the Spring bean configuration has been set correctly otherwise this controller will not achieve anything.
moduleDeploymentService - ModuleDeploymentServiceprotected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
Processes requests to update the module deployment configuration.
executeImpl in class org.springframework.extensions.webscripts.DeclarativeWebScriptCopyright © 2005–2016 Alfresco Software. All rights reserved.