public class MvcDemoWebAppInitializer
extends org.crazyyak.dev.webmvc.YakSpringWebAppInitializer
| Constructor and Description |
|---|
MvcDemoWebAppInitializer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEnvironmentPropertyName(javax.servlet.ServletContext servletContext,
org.springframework.web.context.WebApplicationContext appContext) |
java.lang.String |
getProfilesPropertyName(javax.servlet.ServletContext servletContext,
org.springframework.web.context.WebApplicationContext appContext) |
protected java.lang.Class<?>[] |
getSpringConfigClasses(javax.servlet.ServletContext servletContext) |
protected java.lang.String |
getSpringConfigLocation(javax.servlet.ServletContext servletContext) |
void |
onStartup(javax.servlet.ServletContext servletContext) |
public void onStartup(javax.servlet.ServletContext servletContext)
throws javax.servlet.ServletException
onStartup in interface org.springframework.web.WebApplicationInitializeronStartup in class org.crazyyak.dev.webmvc.YakSpringWebAppInitializerjavax.servlet.ServletExceptionpublic java.lang.String getEnvironmentPropertyName(javax.servlet.ServletContext servletContext,
org.springframework.web.context.WebApplicationContext appContext)
getEnvironmentPropertyName in class org.crazyyak.dev.webmvc.YakSpringWebAppInitializerpublic java.lang.String getProfilesPropertyName(javax.servlet.ServletContext servletContext,
org.springframework.web.context.WebApplicationContext appContext)
getProfilesPropertyName in class org.crazyyak.dev.webmvc.YakSpringWebAppInitializerprotected java.lang.Class<?>[] getSpringConfigClasses(javax.servlet.ServletContext servletContext)
getSpringConfigClasses in class org.crazyyak.dev.webmvc.YakSpringWebAppInitializerprotected java.lang.String getSpringConfigLocation(javax.servlet.ServletContext servletContext)
getSpringConfigLocation in class org.crazyyak.dev.webmvc.YakSpringWebAppInitializer