While using Runtime and its underlying framework
we need to use the ClassLoader created by underlying OSGi framework,
actually its Bundle instance that can mock ClassLoader.
We can do this by implementing ClassLoaderFactory
and adding it as an attachment.
But I see we cannot avoid the usage of
* ClassLoadingDefaultDeployer
* VFSClassLoaderClassPathDeployer
* VFSClassLoaderDescribeDeployer
I guess it's best if we add empty/non-exposing CLMD
to attachments, when we use Runtime,
so that Module is not able to expose anything?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213169#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...