cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject [RT] Per sitemap classloading and ClassLoaderFactory
Date Mon, 06 Jun 2005 08:10:27 GMT
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
Now, the implementation - the SitemapLanguage -  uses a global
component, the ClassLoaderFactory to get the per sitemap classloader.
Current we only have on implementation and even if we had different
implementations, you can only configure one classloader factory for the
whole cocoon instance.

For my own application I want to use an own classloader for a specific
sitemap - which is not possible today.

So what do you think about removing the (avalon) component
ClassLoaderFactory and make the class loader factory configurable on a
per sitemap base. 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



Carsten Ziegeler - Open Source Group, S&N AG

View raw message