LoggableComponent ?
Cantor, Scott
cantor.2 at osu.edu
Wed Jun 19 14:14:00 EDT 2013
On 6/18/13 5:22 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>Mostly for Rod,
>
>How do you feel about a new LoggableComponent interface to standardize
>the getLogPrefix() method introduced into the attribute filter and
>resolver ?
I had the same general thought process as Rod about it. In C++, this is an
obvious win, because you create a mixin base class and just inherit it
into any classes needing the feature. Without multiple inheritance, I
think it ends up creating work.
You really need AOP to do this in Java (which is what mixins often kind of
are).
I think we might look at that at some point.
-- Scott
More information about the dev
mailing list