Re: [RT:A5] What are the _real_ concern areas?

Greg Steuck <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.apps.devel,gmane.comp.jakarta.avalon.devel
Message-ID <[email protected]>
>>>>> "Berin" == Berin Loritsch <[email protected]> writes:

    Berin> What about merging Contextualizable, Configurable, and
    Berin> Parameterizable?

    Berin> i.e.

    Berin> interface ConfigurationManager
    Berin> {
    Berin>     Logger getLogger(); // can be its own interface...
    Berin>     Context getContext();
    Berin>     Configuration getConfiguration();
    Berin>     Properties getProperties(); // replace the proprietary parameters.
    Berin> }

Currently it is very easy to extend AbstractLogEnabled to have logging
established. Can we achieve the same level of convenience with the new
approach? The best I could think of was calling
 super.megaconfigure(configurationManager);
and have that do
 m_logger = configurationManager.getLogger();

This is longer and more error prone.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.