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_PATTERN
SPRING_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, runningInSingleWar
afterInitAppContext, initAppContext, initAppContext, replaceLocationsFromConf
public static final java.lang.String PERSISTENCE_CONFIG
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
contextInitialized
in class AbstractWebAppContextLoader
public static void createPersistenceXml(java.lang.String storeName)
protected java.lang.String getBlock()
getBlock
in class AbstractAppContextLoader
protected void beforeInitAppContext()
beforeInitAppContext
in class AbstractAppContextLoader
protected org.springframework.context.support.ClassPathXmlApplicationContext createApplicationContext(java.lang.String[] locations)
createApplicationContext
in class AbstractAppContextLoader
protected org.springframework.context.support.ClassPathXmlApplicationContext createApplicationContext(java.lang.String[] locations, javax.servlet.ServletContext servletContext)
createApplicationContext
in class AbstractAppContextLoader
protected void runEnvironmentSanityChecks()