cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <>
Subject Re: Changes to the deployer plugin wrt shielded classloading
Date Mon, 20 Nov 2006 10:20:50 GMT
I have added a patch for adding shielded classloading for single blocks 
( This allows you to 
shield certain blocks from other blocks inside your Cocoon application, 
which is necessary when there are conflicting versions of Java libs that 
cannot be resolved without patching external code.

For that I modified the BootstrapClassLoaderManager slightly (and stuff 
from the blocks-fw). The configuration for a shielded block also uses 
the ShieldingServlet. Does this conflict with the upcoming move of the 
shielding stuff into the maven-war-plugin?


Carsten Ziegeler schrieb:
> Hi,
> I extracted our support for shielded classloading and added a patch
> to the maven war plugin, see
> As soon as this patch is accepted by the maven community (and hopefully
> they will), shielded class loading is not the concern of Cocoon anymore
> and we can remove this stuff from our own plugin.
> To prepare this, I committed the code I used for the war plugin to our
> deployer plugin - so we are now using a simplified version if the
> classloading which does not depend on the bootstrap stuff anymore.
> This has the advantage of removing the bootstrap module and move the
> stuff into core again. I think we should move the basic class loading
> support into core while moving the reloading stuff into a separate
> module to keep the core dependencies as minimal as possible.
> Carsten

Alexander Klimetschek

View raw message