[xwiki-devs] Code responsible for loading/unloading jars
Hello, Where can I find code responsible for loading/unloading jars? It looks like http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-extension/ branch with code for extension manager (where I planned to start the search from) has moved somewhere. Thus asking for a hint. A little background. Reason for request is that I'll probably try borrowing this component for use in our project . The library we were using ( http://jcloader.sourceforge.net/ ) is LGPL v3 which is not applicable for our business model anymore (LGPLs of earlier versions still apply) thus looking for something similar. Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Code-responsible-for-loading-unloading-jar... Sent from the XWiki- Dev mailing list archive at Nabble.com.
On 01/20/2011 07:41 PM, coldserenity wrote:
Hello,
Where can I find code responsible for loading/unloading jars? It looks like http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-extension/ branch with code for extension manager (where I planned to start the search from) has moved somewhere. Thus asking for a hint.
I believe it was moved to http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-extension/ . Hope this helps, Marius
A little background. Reason for request is that I'll probably try borrowing this component for use in our project . The library we were using ( http://jcloader.sourceforge.net/ ) is LGPL v3 which is not applicable for our business model anymore (LGPLs of earlier versions still apply) thus looking for something similar.
Regards, Roman
Hi, Extension manager is now a (still experimental) part of the platform so you will find it in https://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-extension/xwik... Note that the code which is really responsible for classloading stuff is actually located in of https://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-classloader/ moule On Thu, Jan 20, 2011 at 18:41, coldserenity <[email protected]> wrote:
Hello,
Where can I find code responsible for loading/unloading jars? It looks like http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-extension/ branch with code for extension manager (where I planned to start the search from) has moved somewhere. Thus asking for a hint.
A little background. Reason for request is that I'll probably try borrowing this component for use in our project . The library we were using ( http://jcloader.sourceforge.net/ ) is LGPL v3 which is not applicable for our business model anymore (LGPLs of earlier versions still apply) thus looking for something similar.
Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Code-responsible-for-loading-unloading-jar... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Thanks for the hints! Having analyzed your code and several other class-loader implementations we've eventually came up with our own small implementation where all of the resources are held as byte[]s in-memory. But conceptually solution is the same (store resources map, throw-away class loader on resource update). Regards, Roman -- View this message in context: http://xwiki.475771.n2.nabble.com/Code-responsible-for-loading-unloading-jar... Sent from the XWiki- Dev mailing list archive at Nabble.com.
participants (3)
-
coldserenity -
Marius Dumitru Florea -
Thomas Mortagne