Re: [RT] Per sitemap classloading and ClassLoaderFactory

2005-06-07 Thread Carsten Ziegeler
Ok, as it seems that noone has a better idea I will make the role used to get the class loader factory configurable. Carsten Carsten Ziegeler wrote: Sylvain Wallez wrote: Can you elaborate on your use case? I can try :) I don't have a clear concept right now. All I want to do is to scan

[RT] Per sitemap classloading and ClassLoaderFactory

2005-06-06 Thread Carsten Ziegeler
In 2.2 we have the nice feature to have a class loader on a per sitemap base. This allows to load classes just for this sitemap (and all sub sitemaps). Now, the implementation - the SitemapLanguage - uses a global component, the ClassLoaderFactory to get the per sitemap classloader. Current we

Re: [RT] Per sitemap classloading and ClassLoaderFactory

2005-06-06 Thread Bertrand Delacretaz
Le 6 juin 05, à 10:10, Carsten Ziegeler a écrit : Then you can define the class for the factory on the components section: map:components classloader-factory-class=.../ If this attribute is missing we use the default which is the DefaultClassLoaderFactory I don't know this part of the

Re: [RT] Per sitemap classloading and ClassLoaderFactory

2005-06-06 Thread Sylvain Wallez
Carsten Ziegeler wrote: In 2.2 we have the nice feature to have a class loader on a per sitemap base. This allows to load classes just for this sitemap (and all sub sitemaps). Now, the implementation - the SitemapLanguage - uses a global component, the ClassLoaderFactory to get the per sitemap

Re: [RT] Per sitemap classloading and ClassLoaderFactory

2005-06-06 Thread Carsten Ziegeler
Sylvain Wallez wrote: Can you elaborate on your use case? I can try :) I don't have a clear concept right now. All I want to do is to scan the classpath defined for the sitemap for some specific classes (or perhaps resources - don't know yet). If these classes implement a specific interface an