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
>
Wouldn't it be easier to use fully qualified implementation class name
as component hint? This will even allow stable invocation order if
components are ordered by hint. Maybe not the cleanest approach from
design pureness point of view, should work for "listener" usecase well
enough.
--
Regards,
/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
/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
In my case there is no need to distinguish them. I just want to look up for all
components of a specific type and call a method on each found component, e.g.
the type is a listener interface and I want to notify all registered listeners
that sth. has happened (see whiteboard patter in OSGi).
Fo