cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Shielded class loading between blocks
Date Mon, 20 Nov 2006 13:19:57 GMT
Carsten Ziegeler wrote:
> Daniel Fagerstrom wrote:
>> Seem like a good solution to me. I would prefer putting this 
>> functionality in a ShieldingBlockServlet that extends the BlockServlet 
>> though. If we put to much extras in the BlockServlet it will be hard for 
>> people to understand what it does and to contribute to make it stable.
>>
> Hmm, yes, you're right - what about using Spring's AOP functionality for
> this? The problem with sub classing for a functionality is that you
> might end up with a big set of sub classes for all possible combinations.

Sounds even better than my filter idea (although the idea of Spring AOP was 
heavily inspired by servlet filters ;-) ).

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Mime
View raw message