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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user