public class SingleAppCoreContextLoader extends AppContextLoader
AppContext loader of the middleware application block packed in a WAR together with the web block.AbstractWebAppContextLoader.CubaServletConfigPERSISTENCE_CONFIGAPP_COMPONENTS_PARAM, APP_PROPS_CONFIG_PARAM, APP_PROPS_PARAM, SEPARATOR_PATTERNSPRING_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. |
createPersistenceXmlcontextDestroyedpublic void setJarNames(java.lang.String jarNames)
SingleAppCoreServletListener.jarNames - JARs of the core blockpublic void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized in interface javax.servlet.ServletContextListenercontextInitialized in class AbstractWebAppContextLoader