mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
URL argument support for the Template and Script servlets
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -127,7 +127,7 @@ public class CommandServlet extends BaseServlet
|
||||
txn.begin();
|
||||
|
||||
// inform the processor to execute the specified command
|
||||
processor.process(serviceRegistry, req.getSession(), command);
|
||||
processor.process(serviceRegistry, req, command);
|
||||
|
||||
// commit the transaction
|
||||
txn.commit();
|
||||
@@ -166,11 +166,18 @@ public class CommandServlet extends BaseServlet
|
||||
}
|
||||
|
||||
/**
|
||||
* @param procName
|
||||
* Created the specified CommandProcessor instance. The name of the processor is looked up
|
||||
* in the client config, it should find a valid class impl and then create it.
|
||||
*
|
||||
* @param procName Name of the CommandProcessor to lookup in the client config.
|
||||
*
|
||||
* @return CommandProcessor
|
||||
*
|
||||
* @throws InstantiationException
|
||||
* @throws IllegalAccessException
|
||||
*/
|
||||
private CommandProcessor createCommandProcessor(String procName) throws InstantiationException, IllegalAccessException
|
||||
private CommandProcessor createCommandProcessor(String procName)
|
||||
throws InstantiationException, IllegalAccessException
|
||||
{
|
||||
Config config = Application.getConfigService(getServletContext()).getConfig("Command Servlet");
|
||||
if (config == null)
|
||||
|
Reference in New Issue
Block a user