Hello Olivier, hopefully the role and the type of the member are not always redundant :-):
--- snip --- @Component( role = ArtifactMetadataSource.class, roleHint = "maven" ) protected ArtifactMetadataSource artifactMetadataSource; --- snap --- Regards Mirko On Sun, May 20, 2012 at 10:56 AM, Robert Scholte <apa...@sourcegrounds.com> wrote: > +1 > > Robert > > Op Sun, 20 May 2012 09:00:05 +0200 schreef Olivier Lamy <ol...@apache.org>: > > >> Hi, >> >> After discussion on irc with Hervé, I think role attribute in >> @Component can be of type Class<?> rather than String. >> >> @Component( role = ArtifactMetadataSource.class, roleHint = "maven" ) >> protected ArtifactMetadataSource artifactMetadataSource; >> >> Any objections on this change ? >> >> Thanks, > > > --------------------------------------------------------------------- > 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