Home > Guides > Plugin Developers Guide > Plexus Plugin |
The Plexus Plugin is experimental. Feedback is appreciated!
The Plexus plugin enables Struts Actions, Interceptors, and Results to be created and injected by Plexus.
This plugin provides an ObjectFactory implementation that tries to create Struts Action, Interceptor, and Result classes as Plexus objects.
To use the plugin, when configuring Struts Actions, Interceptors, or Results in struts.xml
, set the class
attribute to contain the Plexus object id, rather than the actual Java class. This will allow Plexus to create the object and inject any dependencies also managed by Plexus.
The following settings can be customized. See the developer guide.
Setting | Description | Default | Possible Values |
---|---|---|---|
| The name or class name of the ObjectFactory implementation to use |
|
|
This plugin can be installed by copying the plugin jar into your application's /WEB-INF/lib
directory. No other files need to be copied or created.