public class DefaultApplicationManager extends ApplicationManager
ApplicationManager.EnvironmentACCESSDENIED, ACTION, ADD, AJAX, ALREADY, APPLICATION, BACK, BLOCKED, container, CONTEXT_PATH, CREATED, DEFAULT_ENVIRONMENT, EDIT, ERROR, EXCEPTION, EXTENSION, HTML, INDEX, INPUT, JSON, JSP, LIST, LOGIN, MAIN, MENTAWAI_BUILD, MENTAWAI_VERSION, NEXT, NOT_FOUND, OUTPUT, PORT, REDIR, REMOVED, REQUEST, SESSION, SHOW, STREAM, SUCCESS, TEST, UPDATED, XML| Constructor and Description |
|---|
DefaultApplicationManager() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionHandler |
getConnectionHandler() |
ConnectionHandler |
getConnHandler() |
Props |
getProps() |
void |
init(Context application)
Override this method to do any initialization for your web application.
|
void |
init(Context application,
Props props) |
void |
initActions() |
void |
initDB(ConnectionHandler connHandler) |
void |
initGlobalConsequences() |
void |
initGlobalFilters() |
void |
initIoC() |
void |
initLists(ConnectionHandler connHandler) |
void |
initLocales() |
void |
initMentaBeans() |
void |
loadActions()
Override this method to register actions and filters in this application manager.
|
void |
loadBeans()
Override this method to register your mentabeans.
|
void |
loadFilters()
Override this method to register your Filters.
|
void |
loadLists()
Override this method to control the data list loading process.
|
void |
loadLocales()
Override this method to specify the supported locales for your application.
|
void |
setupDB() |
void |
setupIoC()
Override this method to register your IoC Components.
|
action, action, action, action, add, add, addActionConfig, addActionPackage, addBeanConfig, addComponent, addDependency, addDependency, addGlobalConsequence, addGlobalFilter, addGlobalFilter, addGlobalFilter, addGlobalFilter, addGlobalFilter, addList, addList, addLists, addLists, addLocale, addLocale, addLocales, addLocales, addLocalizedLists, addLocalizedLists, addSessionListener, ajax, autowire, autowire, autowire, autoWiring, autoWiring, aw, aw, bean, chain, chain, chain, chain, configureActions, createConnectionHandler, createJPAHandler, createSessionHandler, destroy, di, di, exception, filter, filter, filter, filter, filter, filterLast, filterLast, filterLast, fwd, fwd, getActionConfig, getActionConfig, getActions, getApplication, getBeanConfig, getBeanManager, getComponent, getComponentNames, getComponents, getConsequenceProvider, getContainer, getContextPath, getDefaultAction, getDependencies, getEnvironment, getExtension, getGlobalConsequence, getGlobalFilters, getGlobalFilters, getGlobalFilters, getInstance, getParent, getProperties, getProps, getRealPath, getReqCharEncoding, getSessionListeners, getViewDir, init, internal, ioc, ioc, ioc, ioc, ioc, ioc, ioc, ioc, ioc, ioc, ioc, ioc, loadFormatters, on, on, onStarted, redir, redir, redir, redir, redir, redir, redir, redir, redir, redir, removeActionConfig, removeActionPackage, reset, result, ruby, ruby, ruby, setAutoView, setAutowireEverything, setConnectionHandler, setConsequenceProvider, setDateMaskForEverything, setDebugMode, setDebugMode, setDefaultAction, setEnvironment, setJPAHandler, setRealPath, setReloadable, setReloadMode, setRemoveActionFromName, setReqCharEncoding, setSessionHandler, setStatsMode, setViewDir, setWebappPath, spring, spring, stream, string, stringpublic ConnectionHandler getConnHandler()
public Props getProps()
getProps in class ApplicationManagerpublic final void init(Context application)
ApplicationManagerinit in class ApplicationManagerapplication - The application context of your web application.public final void setupDB()
setupDB in class ApplicationManagerpublic void initDB(ConnectionHandler connHandler)
public ConnectionHandler getConnectionHandler()
getConnectionHandler in class ApplicationManagerpublic final void loadBeans()
ApplicationManagerloadBeans in class ApplicationManagerpublic void initMentaBeans()
public final void loadLists()
ApplicationManagerloadLists in class ApplicationManagerpublic void initLists(ConnectionHandler connHandler)
public final void loadLocales()
ApplicationManagerloadLocales in class ApplicationManagerpublic void initLocales()
public final void loadFilters()
ApplicationManagerloadFilters in class ApplicationManagerpublic void initGlobalFilters()
public void initGlobalConsequences()
public final void setupIoC()
ApplicationManagersetupIoC in class ApplicationManagerpublic void initIoC()
public final void loadActions()
ApplicationManagerloadActions in class ApplicationManagerpublic void initActions()
Copyright © 2015. All Rights Reserved.