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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to