[ http://jira.andromda.org/browse/SPRING-132?page=comments#action_12292 ]
     
Chad Brandon commented on SPRING-132:
-------------------------------------

That sounds like a very unusual use and like you mentioned, you could also use 
reflection to retrieve the correct service, I'm not sure if we should add 
features for one off situations like that?

> Add a method to Servicelocators that let's clients retrieve beans by their ID.
> ------------------------------------------------------------------------------
>
>          Key: SPRING-132
>          URL: http://jira.andromda.org/browse/SPRING-132
>      Project: Spring Cartridge
>         Type: Improvement
>     Versions: 3.1
>     Reporter: Peter Friese
>     Assignee: Peter Friese
>      Fix For: 3.1

>
> Sometimes, it is desirable to be able to retrieve a service by it's string 
> ID, like this:
> ServiceLocator.getService("serviceID");




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Reply via email to