-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Goren,

On 7/8/2010 5:09 AM, Goren Il wrote:
> I would like to implement my on webapp class loader, that will look for
> jars in specific places (to be defined in the configuration).
> I would like to inherit the behavior of the default class loader of the
> webapp, so I can not use a regular ClassLoader.

What behavior do you want to inherit? The ability to load classes from
the plug-in before loading classes specified by the webapp? That sounds
like a recipe for disaster to me: the plug-ins can override classes in
your webapp. :(

> I considered inheriting from WebappClassLoader.
> Is there a simpler way?
> Is there some documentation how to create such a class loader?

Try using URLClassLoader directly and see what happens: it's not
difficult to give it a try.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw2cvoACgkQ9CaO5/Lv0PA2fgCgprL+HoUD7qRPzppXj3R4u+SC
20sAoK/sZT2fmW7cYB3hzp5QebMbxV5D
=rsVx
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to