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