felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Re: URL Handlers Service
Date Sun, 02 Oct 2005 17:01:53 GMT
On Sunday 02 October 2005 21:32, Richard S. Hall wrote:
> When a handler proxy is invoked it could use
> SecurityManager.getClassContext() to get the call stack of classes and
> walk up the call stack to get the first class that is loaded from a
> bundle class loader.

You realize that this is a very expensive procedure? Not sure exactly when you 
mean the above should take place, but it sounds like "very often"...

IMHO, the only reasonable approach is to share the handlers within the JVM 
(i.e. solution 2). Better yet if the sharing mechanism could be used (or 
cooperating with) the world "outside" OSGi.


View raw message