I recently used lookupMap API [1] to detect which wagon providers was available in m-site-p 3.0 It worked like a charm
Regards, Hervé [1] http://plexus.codehaus.org/plexus-containers/plexus-container- default/apidocs/org/codehaus/plexus/PlexusContainer.html#lookupMap(java.lang.Class) Le mardi 2 août 2011, bernd.v...@bosch-si.com a écrit : > I'm using the SISU-plexus-shim (sisu-inject-plexus-2.1.1). > > > 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). > > Is it possible to use guice directly in a "SISU-plexus-shim" environment? > > Thanks, > Bernd --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org