aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lin Sun <>
Subject Re: JNDI and proxying
Date Fri, 09 Jul 2010 13:03:57 GMT
I like the idea too!  I had been wondering how we could differentiate
the case where we absolutely want the proxy generated vs the case
where we want a non-proxies service object returned when we cannot
proxy the class.


On Thu, Jul 8, 2010 at 11:54 PM, Jarek Gawor <> wrote:

> No, that would violate the OSGi JNDI spec. The Aries JNDI
> implementation actually supports two url schemes for looking up
> services via jndi: the standard one - "osgi:service/" and non-standard
> one - "aries:services/". Right now both work in exactly the same way.
> But we could modify things a bit so that when "aries:services/" scheme
> it could return a non-proxied service object (when proxying fails).
> Jarek

View raw message