On Fri, Aug 12, 2005 at 07:17:47PM +0400, Alexander Azarov wrote:
> How may I get a ClassWorld instance from Mojo execute method?

There is no standard way of getting an instance of a ClassWorld. What are
you trying to do? The Mojo itself should probably construct a new
ClassLoader and use either this.getClass().getClassLoader() or
Thread.currentThread.getContextClassLoader() as the parent class loader.

Creating a sub-class of URLClassLoader is often a good start.

--
Trygve

Attachment: signature.asc
Description: Digital signature

Reply via email to