On Mon, Sep 7, 2009 at 6:06 PM, Norman Maurer<[email protected]> wrote: > Hi Robert, > > I just lookin at implementing the Avalon Commons Configuration > adapter. I think adding a Log parameter doesn't make so much sense. It > just seems to be not logical. Why not just inject the Logger and use > the injected ?
the log would need the service context which makes injection from the container difficult. so the service would need to inject the log. i think that this would mean adding a handler interface supported by handlers which need access to a service context but session independent log. my preference would be avoid this - if possible - since it risks mistakes over session logging but it's not a strong one. - robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
