What about the namespace ? From what namespace would it look for the service
?
On 10/01/06, Martin Strand <[EMAIL PROTECTED]> wrote:
>
> Just a thought, wouldn't it be nice if InjectObject by default injected
> the service with an id equal to the return type's fully qualified name?
>
>
> @InjectObject
> public abstract MyService getMyService();
>
> would be the same as
>
> @InjectObject("service:my.package.MyService")
> public abstract MyService getMyService();
>
>
> At least for me the type's name is equal to the service id about 99% of
> the time. What do you think?.
>
> --Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>