. Generic "command servlet" implementation

- Replaces specific command servlets, such as the WorkflowActionServlet with a generic CommandServlet

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-04-04 13:18:44 +00:00
parent 54c9595dc6
commit 057252f0e4
6 changed files with 212 additions and 9 deletions

View File

@@ -573,6 +573,19 @@ public class Application
Application.BEAN_CONFIG_SERVICE);
}
/**
* Helper to get the ConfigService instance
*
* @param context ServletContext
*
* @return ConfigService
*/
public static ConfigService getConfigService(ServletContext context)
{
return (ConfigService)WebApplicationContextUtils.getRequiredWebApplicationContext(context).getBean(
Application.BEAN_CONFIG_SERVICE);
}
/**
* Helper to get the client config element from the config service
*