Author: doogie
Date: Wed Jun 29 22:12:20 2011
New Revision: 1141286
URL:
http://svn.apache.org/viewvc?rev=1141286&view=revLog:
OPTIMIZE: Move all the StandardContext api calls to a separate method,
configureContext.
Modified:
ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java
Modified: ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java?rev=1141286&r1=1141285&r2=1141286&view=diff==============================================================================
--- ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java (original)
+++ ofbiz/trunk/framework/catalina/src/org/ofbiz/catalina/container/CatalinaContainer.java Wed Jun 29 22:12:20 2011
@@ -529,6 +529,10 @@ public class CatalinaContainer implement
}
}
+ 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();