public class AppContextLoader extends AbstractWebAppContextLoader
AppContext loader of the middleware web application.AbstractWebAppContextLoader.CubaServletConfig| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PERSISTENCE_CONFIG |
APP_COMPONENTS_PARAM, APP_HOME_PROP, APP_PROPS_CONFIG_PARAM, APP_PROPS_PARAM, SEPARATOR_PATTERNSPRING_CONTEXT_CONFIG| Constructor and Description |
|---|
AppContextLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeInitAppContext() |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
protected org.springframework.context.support.ClassPathXmlApplicationContext |
createApplicationContext(java.lang.String[] locations) |
protected org.springframework.context.support.ClassPathXmlApplicationContext |
createApplicationContext(java.lang.String[] locations,
javax.servlet.ServletContext servletContext) |
static void |
createPersistenceXml(java.lang.String storeName) |
protected java.lang.String |
getBlock() |
protected void |
runEnvironmentSanityChecks() |
afterInitAppProperties, checkAppHome, cleanup, contextDestroyed, getAppPropertiesConfig, initAppComponents, initAppProperties, loadPropertiesFromConfig, runningInSingleWarafterInitAppContext, initAppContext, initAppContext, replaceLocationsFromConfpublic static final java.lang.String PERSISTENCE_CONFIG
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized in interface javax.servlet.ServletContextListenercontextInitialized in class AbstractWebAppContextLoaderpublic static void createPersistenceXml(java.lang.String storeName)
protected java.lang.String getBlock()
getBlock in class AbstractAppContextLoaderprotected void beforeInitAppContext()
beforeInitAppContext in class AbstractAppContextLoaderprotected org.springframework.context.support.ClassPathXmlApplicationContext createApplicationContext(java.lang.String[] locations)
createApplicationContext in class AbstractAppContextLoaderprotected org.springframework.context.support.ClassPathXmlApplicationContext createApplicationContext(java.lang.String[] locations,
javax.servlet.ServletContext servletContext)
createApplicationContext in class AbstractAppContextLoaderprotected void runEnvironmentSanityChecks()