Package org.nanocontainer.nanowar.struts

Integrates Struts with PicoContainer.

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.
 

Package org.nanocontainer.nanowar.struts Description

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.



Copyright © 2003-2006 Codehaus. All Rights Reserved.