avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [FOP Avalonization] IoC the holy grail?
Date Tue, 03 Sep 2002 13:21:09 GMT
On Tue, 3 Sep 2002 23:14, Nicola Ken Barozzi wrote:
> Ah, ok.
> The fact is that The OM is basically reactive, in a sense that the data
> structure is able to reply to methods, which are used by the builder via
> a common interface for all objects.
>
> How do these methods get hold of common library services?
>
> The common solution is use of static stuff, like in log4j, where to log
> inside these data structures I get a logger via the static method.
>
> It's a cross-cutting concern, so I cross-cut the hierarchy via static
> methods.

Sounds like a perfect case for visitors or similar ;)

-- 
Cheers,

Peter Donald
--------------------------------------------
 Beer is proof that God loves us and wants 
 us to be happy. -- Benjamin Franklin
-------------------------------------------- 


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message