archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: from plexus to spring...
Date Mon, 25 Feb 2008 13:09:06 GMT

On 25/02/2008, at 10:23 PM, nicolas de loof wrote:

> Can someone confirm the plexus behavior for IoC :
>
> When the target field is a Map or a Collection and no role-hint is
> specified, inject all component implementations
>
> When the target field is the component interface and no role-hint is
> specified, inject the no-hint component or the one with rol-hint  
> "default".

Correct.

>
>
> Is there a special handling for "mock" role-hint ? I have some  
> issues with
> component initialisation in archiva-proxy CacheFailureTransfertTest  
> that
> seems to be related to MockArchivaConfiguration...

No - are you reading the CacheFailureTransferTest.xml file as a plexus  
descriptor?

- Brett

--
Brett Porter
brett@apache.org
http://blogs.exist.com/bporter/


Mime
View raw message