use the role based defaults to set the instantiation strategy for all actions

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@421312 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2006-07-12 16:37:06 +00:00
parent 4a36b8e50d
commit 5c970ed39e
3 changed files with 8 additions and 2 deletions

View File

@ -169,6 +169,12 @@
<configuration>
<fileName>plexus.xml</fileName>
<containerDescriptor>true</containerDescriptor>
<roleDefaults>
<roleDefault>
<role>com.opensymphony.xwork.Action</role>
<instantiation-strategy>per-lookup</instantiation-strategy>
</roleDefault>
</roleDefaults>
</configuration>
<executions>
<execution>

View File

@ -37,7 +37,7 @@ import java.util.Map;
/**
* Searches for searchString in all indexed fields.
*
* @plexus.component role="com.opensymphony.xwork.Action" role-hint="quickSearchAction" instantiation-strategy="per-lookup"
* @plexus.component role="com.opensymphony.xwork.Action" role-hint="quickSearchAction"
*/
public class QuickSearchAction
extends ActionSupport

View File

@ -32,7 +32,7 @@ import java.io.IOException;
/**
* Configures the application.
*
* @plexus.component role="com.opensymphony.xwork.Action" role-hint="configureAction" instantiation-strategy="per-lookup"
* @plexus.component role="com.opensymphony.xwork.Action" role-hint="configureAction"
*/
public class ConfigureAction
extends ActionSupport