org.mentawai.core
Class DefaultApplicationManager

java.lang.Object
  extended by org.mentawai.core.ApplicationManager
      extended by org.mentawai.core.DefaultApplicationManager

public class DefaultApplicationManager
extends ApplicationManager


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mentawai.core.ApplicationManager
ApplicationManager.Environment
 
Field Summary
 
Fields inherited from class org.mentawai.core.ApplicationManager
ACCESSDENIED, 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 Summary
DefaultApplicationManager()
           
 
Method Summary
 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.
 
Methods inherited from class org.mentawai.core.ApplicationManager
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, 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, 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, string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultApplicationManager

public DefaultApplicationManager()
Method Detail

getConnHandler

public ConnectionHandler getConnHandler()

getProps

public Props getProps()
Overrides:
getProps in class ApplicationManager

init

public void init(Context application,
                 Props props)

init

public final void init(Context application)
Description copied from class: ApplicationManager
Override this method to do any initialization for your web application.

Overrides:
init in class ApplicationManager
Parameters:
application - The application context of your web application.

setupDB

public final void setupDB()
Overrides:
setupDB in class ApplicationManager

initDB

public void initDB(ConnectionHandler connHandler)

getConnectionHandler

public ConnectionHandler getConnectionHandler()
Overrides:
getConnectionHandler in class ApplicationManager

loadBeans

public final void loadBeans()
Description copied from class: ApplicationManager
Override this method to register your mentabeans.

Overrides:
loadBeans in class ApplicationManager

initMentaBeans

public void initMentaBeans()

loadLists

public final void loadLists()
Description copied from class: ApplicationManager
Override this method to control the data list loading process.

Overrides:
loadLists in class ApplicationManager

initLists

public void initLists(ConnectionHandler connHandler)

loadLocales

public final void loadLocales()
Description copied from class: ApplicationManager
Override this method to specify the supported locales for your application.

Overrides:
loadLocales in class ApplicationManager

initLocales

public void initLocales()

loadFilters

public final void loadFilters()
Description copied from class: ApplicationManager
Override this method to register your Filters.

Overrides:
loadFilters in class ApplicationManager

initGlobalFilters

public void initGlobalFilters()

initGlobalConsequences

public void initGlobalConsequences()

setupIoC

public final void setupIoC()
Description copied from class: ApplicationManager
Override this method to register your IoC Components.

Overrides:
setupIoC in class ApplicationManager

initIoC

public void initIoC()

loadActions

public final void loadActions()
Description copied from class: ApplicationManager
Override this method to register actions and filters in this application manager.

Overrides:
loadActions in class ApplicationManager

initActions

public void initActions()


Copyright © 2013. All Rights Reserved.