public class SingleAppCoreContextLoader extends AppContextLoader
AppContext
loader of the middleware application block packed in a WAR together with the web block.AbstractWebAppContextLoader.CubaServletConfig
PERSISTENCE_CONFIG
APP_COMPONENTS_PARAM, APP_PROPS_CONFIG_PARAM, APP_PROPS_PARAM, SEPARATOR_PATTERN
SPRING_CONTEXT_CONFIG
Constructor and Description |
---|
SingleAppCoreContextLoader() |
Modifier and Type | Method and Description |
---|---|
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Here we create servlets and filters manually, to make sure the classes would be loaded using necessary classloader.
|
void |
setJarNames(java.lang.String jarNames)
Invoked reflectively by
SingleAppCoreServletListener . |
createPersistenceXml
contextDestroyed
public void setJarNames(java.lang.String jarNames)
SingleAppCoreServletListener
.jarNames
- JARs of the core blockpublic void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
contextInitialized
in class AbstractWebAppContextLoader