Costin, >>What we need is a marker interface that indicates a tool wants a logger, and >>of course a method to give it the logger... I did a quick scan of the >>public API, and there doesn't seem to be one. >> >>So what I propose is to add an interface 'LogUser' or something like it (we >>can quibble about the name...) >> >> public interface LogUser >> { >> public void setCommonsLogger(Log log) >> } >> > >In other words, you also want a 'push' model for the logger. Curently each >component is supposed to 'pull' the logger. > Not wishing to be political, just to furnish you with info, the 'push' model is described as 'Inversion of Control' -->
http://jakarta.apache.org/avalon/framework/inversion-of-control.html - Paul -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>