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
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
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
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
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