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
<[email protected]> wrote:
> +1
>
> Robert
>
> Op Sun, 20 May 2012 09:00:05 +0200 schreef Olivier Lamy <[email protected]>:
>
>
>> 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: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to