On Apr 18, 2007, at 11:05 PM, Paul Smith wrote:


This is because the LoggerRepository is not of type LoggerRepositoryEx. Chainsaw makes extensive use of the PluginRegistry, and right now we have no central place where it can access a PluginRegistry.

What I'll do is create a PluginRegistry somewhere higher up, and hand this down to the components that need that; bit more IoC like. I wish I was more IoC aware earlier on.. :)


Hmm, I can see no other way around this than to create a copy of Hierarchy from log4 1.3, copy that into the component module, and setup a RepositorySelector during LogUI startup that causes the default LoggerRepository to become the new Hierarchy version. Given the naming conflict here, I would suggest we call it HierarchyEx .. ?

Paul


Let me take a look at it tomorrow and see if I can come up with something cleaner.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to