public class PetiteWebApplication extends WebApplication
WebApplication that uses Petite container
for retrieving all instances.madpc, MADVOC_CONTAINER_NAME| Constructor and Description |
|---|
PetiteWebApplication() |
| Modifier and Type | Method and Description |
|---|---|
protected jodd.petite.PetiteContainer |
createPetiteContainer()
Creates default Petite container that will be
provided to Madvoc. |
protected jodd.petite.PetiteContainer |
providePetiteContainer()
Provides
Petite container instance that will be used as application context. |
void |
registerMadvocComponents()
Registers
provided Petite container
and Petite-aware Madvoc components. |
configure, defineParams, defineParams, destroy, getComponent, getComponent, init, initActions, initFilters, initInterceptors, initResults, initWebApplication, ready, registerComponent, registerComponent, registerComponent, registerComponentprotected jodd.petite.PetiteContainer createPetiteContainer()
provided to Madvoc.
This method does not have to be fired off if Petite
container is created on some other place!protected jodd.petite.PetiteContainer providePetiteContainer()
Petite container instance that will be used as application context.
By default it creates new container instance and performs
auto-magic configuration.public void registerMadvocComponents()
provided Petite container
and Petite-aware Madvoc components.registerMadvocComponents in class WebApplicationCopyright © 2003-2013 Jodd Team