mirror of https://github.com/apache/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
This commit is contained in:
parent
4a36b8e50d
commit
5c970ed39e
|
@ -169,6 +169,12 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<fileName>plexus.xml</fileName>
|
<fileName>plexus.xml</fileName>
|
||||||
<containerDescriptor>true</containerDescriptor>
|
<containerDescriptor>true</containerDescriptor>
|
||||||
|
<roleDefaults>
|
||||||
|
<roleDefault>
|
||||||
|
<role>com.opensymphony.xwork.Action</role>
|
||||||
|
<instantiation-strategy>per-lookup</instantiation-strategy>
|
||||||
|
</roleDefault>
|
||||||
|
</roleDefaults>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
|
@ -37,7 +37,7 @@ import java.util.Map;
|
||||||
/**
|
/**
|
||||||
* Searches for searchString in all indexed fields.
|
* 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
|
public class QuickSearchAction
|
||||||
extends ActionSupport
|
extends ActionSupport
|
||||||
|
|
|
@ -32,7 +32,7 @@ import java.io.IOException;
|
||||||
/**
|
/**
|
||||||
* Configures the application.
|
* 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
|
public class ConfigureAction
|
||||||
extends ActionSupport
|
extends ActionSupport
|
||||||
|
|
Loading…
Reference in New Issue