Possibly, and I'll look into it once I hook the UCL based
DomainClassLoader into the ClassLoadingDeployer. My concern with trying
to do this with the current UCL, which is subclassing URLClassLoader, is
not having control over caching of the URL handler pieces and having
leaks. Not a problem for testcases.
Adrian Brock wrote:
Even with the UCL the filtering classloader should be the same?
You would need a url handler that can provide the pretend deployment
from a list of packages e.g.
test:jar1?packages=org.jboss.test.jar1
On Thu, 2006-08-31 at 12:48 -0700, Scott M Stark wrote:
> Yes, but the current testing is of the legacy UCL/URL class loaders
> which do not have this notion. The VFS needs to have a mapping notion to
> allow content to be pulled together in a logical deployment unit (jar,
> ...), and the ClassLoadingDomain needs to support the osgi type of
> import/export notion. I was not viewing either of these as requirements
> for the initial VDF implementation.
>
>