On Jan 6, 2005, at 4:15 PM, Ceki G�lc� wrote:
I'd still like to see LoggerRepositoryAware disappear in favor of passing in the LoggerRepository in the constructor, but would not do that just at this moment.
This reminds me of "Forms Of Dependency Injection"
http://www.martinfowler.com/articles/ injection.html#FormsOfDependencyInjection
Good summary of the issue. The current form is a interface dependency injector, I'd favor constructor dependency injector. The constructor dependency injector would be require more pervasive code changes, basically adding a LoggerRepository param to constructors that derive from ComponentBase. However, it would prevent having to deal with constructed by not setLoggerRepository'd objects. If the "assembler" code that constructs and initializes the object is not replicated all over the code base, then it would fairly simple to change forms when things settle down a bit.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
