Antti Koivunen wrote:
> Leo,
> 
> Leo Sutic wrote:
>  > Before I go and vote for this one, I would also like to hear more
>  > about Peter's release-less version. If that one works, we could have:
>  >
>  >    interface ServiceResolver extends ServiceManager
>  >    {
>  >         Object lookup( String role, Object policy );
>  >    }
> 
> I'm afraid this would only work for thread-safe services ...

I'd better add "...without using intermediate proxy/delegate objects". 
It should be possible to use dynamic proxies to achieve this, but there 
would be a small performance hit on every operation. Things could also 
get quite complex on the ServiceManager/container side.

(: A ;)



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to