From: Brett Porter Date: Wed, 12 Jul 2006 16:37:06 +0000 (+0000) Subject: use the role based defaults to set the instantiation strategy for all actions X-Git-Tag: archiva-0.9-alpha-1~780 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5c970ed39e41d5ab16929a9497fb04324d6a7948;p=archiva.git 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 --- diff --git a/maven-repository-webapp/pom.xml b/maven-repository-webapp/pom.xml index d588a485d..39f89081f 100644 --- a/maven-repository-webapp/pom.xml +++ b/maven-repository-webapp/pom.xml @@ -169,6 +169,12 @@ plexus.xml true + + + com.opensymphony.xwork.Action + per-lookup + + diff --git a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java index 4c0e8ba43..35f5de74f 100644 --- a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java +++ b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/QuickSearchAction.java @@ -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 diff --git a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java index 82288d761..6ccb922a3 100644 --- a/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java +++ b/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/admin/ConfigureAction.java @@ -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