|
![]() |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
KeyConstants | Deprecated. Use org.nanocontainer.nanowar.KeyConstants |
Class Summary | |
---|---|
ActionFactory | Uses PicoContainer to produce Actions and inject dependencies into them. |
PicoActionServlet | Uses Pico to produce Actions and inject dependencies into them. |
PicoRequestProcessor | Uses Pico to produce Actions and inject dependencies into them. |
PicoTilesRequestProcessor | Uses Pico to produce Actions and inject dependencies into them. |
Integrates Struts with PicoContainer. Uses Pico to inject dependencies into Struts actions. This package is intended to be used in conjuntion with nano-servlet. Use nano-servlet to configure component your actions depend on, and nano-struts will inject those dependencies into your Struts actions using constructor injection.
To use with Struts 1.1, specify either the PicoRequestProcessor
, or if you are using the Tiles library, the PicoTilesRequestProcessor
, as the controller class in your Struts configuration file.
If you are using Struts 1.0, you can use the PicoActionServlet
instead. If you have your own request processor or action servlet class, you can use ActionFactory
in the processActionCreate
method of your action servlet or request processor.
|
![]() |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |