From: Scott C. <can...@os...> - 2007-09-05 15:59:32
|
> Purpose of this machinery is to provide a way to write different > configurators that independed of knowledge what appenders/layout/etc > exists. I understand, it's for dynamically creating the objects so the configuration doesn't have to know the classes at compile time. > If you look on PropertyConfiguratorImpl.cpp you will see that > PropertyConfiguratorImpl knows all about appenders/layouts/etc that exists > in the library. But if I write my own appender or layout it can't be > configured with help of PropertyConfigurator because it doesn't know > anything about it. If PropertyConfigurator will be rewrited using Factory > stuffs it will be generic and can be used for configuring my > appender/layout. So it hasn't been reimplemented yet to support this? -- Scott |