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 <[email protected]> wrote: > From: Tamás Cservenák <[email protected]> > Subject: Re: PlexusContainer#lookupList(role) returns only one component > To: "Maven Developers List" <[email protected]> > Date: Tuesday, August 2, 2011, 10:52 AM > Inline. > > On Tue, Aug 2, 2011 at 12:05 PM, <[email protected]> > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
