cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Rocha <rica...@apache.org>
Subject Re: Project Coordination
Date Fri, 14 Apr 2000 04:01:25 GMT
On Thu, 13 Apr 2000, Niclas Hedhman wrote:
> rubys@us.ibm.com wrote:
> 
> > BSF doesn't do
> > that currently as we haven't figured out how to trigger the class being
> > unloaded when the XSP gets recompiled.
> 
> When you load the class, first create a new Classloader.
> 
> URLClassLoader ucl = new URLClassLoader( urls );
> Class cls = ucl.loadClass( classname );
> Object obj = cls.newInstance();
> 
> When you are done with the class, drop the reference to the objects as well as
> the class loader.
> 
> That should do it.

That's pretty much how the XSP class loader works

Mime
View raw message