AW: AW: AW: AW: PlexusContainer#lookupList(role) returns only one component

2011-08-03 Thread Bernd.Vogt
callers and for extenders). > -Ursprüngliche Nachricht- > Von: Igor Fedorenko [mailto:i...@ifedorenko.com] > Gesendet: Mittwoch, 3. August 2011 11:46 > An: dev@maven.apache.org > Betreff: Re: AW: AW: AW: PlexusContainer#lookupList(role) returns only one > component >

Re: AW: AW: AW: PlexusContainer#lookupList(role) returns only one component

2011-08-03 Thread Igor Fedorenko
[mailto:strub...@yahoo.de] Gesendet: Mittwoch, 3. August 2011 10:56 An: Maven Developers List Betreff: Re: AW: AW: PlexusContainer#lookupList(role) returns only one component If you like to distinguish them, what JSR-330 mechanism do you use? Qualifiers? There must be a precedence rule somehow... LieG

Re: AW: AW: AW: PlexusContainer#lookupList(role) returns only one component

2011-08-03 Thread Mark Struberg
/javase/6/docs/api/java/util/ServiceLoader.html [2] http://download.oracle.com/javaee/6/api/javax/inject/package-summary.html --- On Wed, 8/3/11, bernd.v...@bosch-si.com wrote: > From: bernd.v...@bosch-si.com > Subject: AW: AW: AW: PlexusContainer#lookupList(role) returns only one > compo

Re: AW: AW: AW: PlexusContainer#lookupList(role) returns only one component

2011-08-03 Thread Mark Struberg
/javase/6/docs/api/java/util/ServiceLoader.html [2] http://download.oracle.com/javaee/6/api/javax/inject/package-summary.html --- On Wed, 8/3/11, bernd.v...@bosch-si.com wrote: > From: bernd.v...@bosch-si.com > Subject: AW: AW: AW: PlexusContainer#lookupList(role) returns only one > compo

AW: AW: AW: PlexusContainer#lookupList(role) returns only one component

2011-08-03 Thread Bernd.Vogt
1 10:56 > An: Maven Developers List > Betreff: Re: AW: AW: PlexusContainer#lookupList(role) returns only one > component > > If you like to distinguish them, what JSR-330 mechanism do you use? > Qualifiers? There must be a > precedence rule somehow... > > LieGrue, > strub

Re: AW: AW: PlexusContainer#lookupList(role) returns only one component

2011-08-03 Thread Mark Struberg
If you like to distinguish them, what JSR-330 mechanism do you use? Qualifiers? There must be a precedence rule somehow... LieGrue, strub --- On Wed, 8/3/11, bernd.v...@bosch-si.com wrote: > From: bernd.v...@bosch-si.com > Subject: AW: AW: PlexusContainer#lookupList(role) returns on

AW: AW: PlexusContainer#lookupList(role) returns only one component

2011-08-02 Thread Bernd.Vogt
Sadly, this doesn't work for my case. I have several components with exactly the same role and hint, e.g. role=IFooListener.class, hint="default". Using lookupMap returns a map which maps hint to role... so, I get a map that contains only the first component plexus finds. Currently, I'm looking