OPTIMIZE: Move all the StandardContext api calls to a separate method,

configureContext.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1141286 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2011-06-29 22:12:20 +00:00
parent 933ca1332f
commit af4b27e6bf
@@ -529,6 +529,10 @@ public class CatalinaContainer implements Container {
}
}
return configureContext(engine, host, appInfo);
}
private Context configureContext(Engine engine, Host host, ComponentConfig.WebappInfo appInfo) throws ContainerException {
// webapp settings
Map<String, String> initParameters = appInfo.getInitParameters();