It might be possible, but I would not suggest this as it's an implementation detail. It might be a safe route to use JSR-330 only, but its still not guaranteed.
LieGrue, strub --- On Tue, 8/2/11, Tamás Cservenák <ta...@cservenak.net> wrote: > From: Tamás Cservenák <ta...@cservenak.net> > Subject: Re: PlexusContainer#lookupList(role) returns only one component > To: "Maven Developers List" <dev@maven.apache.org> > Date: Tuesday, August 2, 2011, 10:52 AM > Inline. > > On Tue, Aug 2, 2011 at 12:05 PM, <bernd.v...@bosch-si.com> > wrote: > >> In plexus role+hint forms a "composite key". In > your case, you had a > >> component conflict, and Plexus stashed one > component over another > >> (it's undefined which "wins", but probably depends > on classpath > >> ordering or so). > > > > Sure, I expected this behavior for the "simple" lookup > methods which only returns one component but not for the > lookupList methods... I hoped I could use this to get all > registered components (as I'm used to from other IoCs). > > The plexus component registry is keyed like this, so I > _think_ you > cannot do this with Plexus. > > > Is it possible to use guice directly in a > "SISU-plexus-shim" environment? > Yes, you can still use Module and other nifty things.... > > More about SISU here: > http://sisu.sonatype.org/index.html > > > Thanks, > ~t~ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org