public class PlatformStartup extends Object implements javax.servlet.ServletContextListener
ServletContextListener is used to initialize the appNG platform. This includes loading the configuration
from "/WEB-INF/conf/appNG.properties", initializing the ApplicationContext from
/WEB-INF/conf/platformContext.xml and loading all active Sites with their configured
Applications.| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_LOCATION |
| Constructor and Description |
|---|
PlatformStartup() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
protected InitializerService |
getService(Environment env,
javax.servlet.ServletContext ctx) |
protected void |
initPlatformContext(javax.servlet.ServletContext ctx,
Environment env,
Properties config,
DatabaseConnection platformConnection) |
public static final String CONFIG_LOCATION
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerprotected void initPlatformContext(javax.servlet.ServletContext ctx,
Environment env,
Properties config,
DatabaseConnection platformConnection)
throws IOException
IOExceptionpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerprotected InitializerService getService(Environment env, javax.servlet.ServletContext ctx)
Copyright © 2011–2017 aiticon GmbH. All rights reserved.