On Mon, 12 Jan 2004, Jose Alberto Fernandez
<[EMAIL PROTECTED]> wrote:
> Question 1: How important is caching here? I presume
> it is important.
>
> Assuming it is important to cache, what I could do is use a static
> WeakHashMap (JDK 1.2) to keep the references based on the effective
> classloader to use.
Sounds OK (I'm not sure about the value of caching, though).
> Question 2: How good are we now at reusing classloaders?
We more or less never do 8-)
> I see we ask the project to construct a classloader based
> on a claspath, does the same classpath (or classpath-ref)
> will give you the same classloader instance? That would really
> be a good thing.
Not without further work, no.
> So, does any body object to this type of approach in principle?
Looks fine.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]