@Priority(value=0)
public class InitializationInitializer
extends java.lang.Object
implements org.springframework.web.WebApplicationInitializer
限定符和类型 | 字段和说明 |
---|---|
static org.springframework.web.HttpRequestHandler |
INSTALL_HTTPREQUEST_HANDLER
安装跳转处理器
|
static java.lang.String |
INSTALL_SERVLET_MAPPING
安装Servlet映射路径
|
protected static org.apache.commons.logging.Log |
log |
构造器和说明 |
---|
InitializationInitializer() |
限定符和类型 | 方法和说明 |
---|---|
private static void |
createInstallServlet(javax.servlet.ServletContext servletcontext,
java.lang.String startStep,
java.lang.String version) |
static void |
initFilePath(java.lang.String filePath,
java.lang.String defaultPath)
检查CMS路径变量
|
static void |
initLogManager()
日志配置
|
private static void |
initProxy(java.util.Properties config)
代理配置
|
void |
onStartup(javax.servlet.ServletContext servletContext) |
protected static final org.apache.commons.logging.Log log
public static final java.lang.String INSTALL_SERVLET_MAPPING
public static final org.springframework.web.HttpRequestHandler INSTALL_HTTPREQUEST_HANDLER
public void onStartup(javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException
onStartup
在接口中 org.springframework.web.WebApplicationInitializer
javax.servlet.ServletException
public static void initFilePath(java.lang.String filePath, java.lang.String defaultPath)
filePath
- defaultPath
- private static void createInstallServlet(javax.servlet.ServletContext servletcontext, java.lang.String startStep, java.lang.String version)
public static void initLogManager()
private static void initProxy(java.util.Properties config) throws java.io.IOException
config
- java.io.IOException