You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leo Sutic <le...@inspireinfrastructure.com> on 2002/03/04 11:21:11 UTC

LoggerManager and IOC

How does LoggerManager and its associated interface fit with IOC?

It is the only interface that allows a component to "break out" of its
container and obtain references to global resources *not* through a CM.

I'd like to see the LoggerManageable interface deprecated, and force any
component that needs a LoggerManager to look it up via a CM.

(I am willing to wait for Avalon 5, so backwards compatibility is not
an obstacle, and I have not given it any thought.)

/LS

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: LoggerManager and IOC

Posted by Leo Simons <ma...@leosimons.com>.
> How does LoggerManager and its associated interface fit with IOC?

it doesn't.

> It is the only interface that allows a component to "break out" of its
> container and obtain references to global resources *not* through a CM.
> 
> I'd like to see the LoggerManageable interface deprecated, and force any
> component that needs a LoggerManager to look it up via a CM.
> 
> (I am willing to wait for Avalon 5, so backwards compatibility is not
> an obstacle, and I have not given it any thought.)

The reason it doesn't (right pete?) is that you want to be able to
start logging before you receive your CM. That, and speed.

I think the above two reasons are valid enough to break IoC.

cheers,

- LSD

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>