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
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/