public abstract class DefaultWebApplication
extends jodd.madvoc.petite.PetiteWebApplication
| Modifier and Type | Field and Description |
|---|---|
protected DefaultAppCore |
defaultAppCore |
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultWebApplication() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(jodd.madvoc.config.MadvocConfigurator configurator)
Configures
AutomagicMadvocConfigurator. |
protected abstract DefaultAppCore |
createAppCore()
Creates
DefaultAppCore. |
protected void |
destroy(jodd.madvoc.component.MadvocConfig madvocConfig)
Destroys application context and Madvoc.
|
protected void |
initWebApplication()
Starts
application core before web application is initialized. |
protected jodd.petite.PetiteContainer |
providePetiteContainer()
Defines application container for Madvoc usage.
|
protected void |
registerCustomMadvocComponents()
Registers custom madvoc components.
|
void |
registerMadvocComponents()
Registers default and additional
ProxettaAwareActionsManager. |
protected final DefaultAppCore defaultAppCore
protected abstract DefaultAppCore createAppCore()
DefaultAppCore.protected void initWebApplication()
application core before web application is initialized.initWebApplication in class jodd.madvoc.WebApplicationpublic final void registerMadvocComponents()
ProxettaAwareActionsManager.
Because the custom action manager is registered using an instance,
all custom Madvoc components should be registered before it!
For that reason, custom madvoc components should be registered
using registerCustomMadvocComponents().registerMadvocComponents in class jodd.madvoc.petite.PetiteWebApplicationprotected void registerCustomMadvocComponents()
registerMadvocComponents()protected jodd.petite.PetiteContainer providePetiteContainer()
If container is not shared, PetiteWebApplication would create new Petite container; that is fine when e.g. there are no layers.
providePetiteContainer in class jodd.madvoc.petite.PetiteWebApplicationpublic void configure(jodd.madvoc.config.MadvocConfigurator configurator)
AutomagicMadvocConfigurator.configure in class jodd.madvoc.WebApplicationprotected void destroy(jodd.madvoc.component.MadvocConfig madvocConfig)
destroy in class jodd.madvoc.WebApplicationCopyright © 2003-2013 Jodd Team