Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to intercept proceed() in around() advice

Ron DiFrango, 29.08.2012 19:21:
> Agreed and I looked at the Stackoverflow post and thought about this
> one and the more I thought about it, to me the most "elegant"
> solution was to create an inheritance tree with your aspects that
> handled this case in a traditional OO maner.

Not to me. This is one concern and not general base functionality plus
sepcialisation.

> One other thought, have you considered why you are always
> indenting/dedenting your logger and if that is necessary and/or a
> better design could be achieved in your logging implementation?

The logger does not log like a tracer, but shows what the application
does. For this command line app the "log output" (maybe a bad name, I am
just using an existing logger class) is the user interface, and I want
it to be indented.

Please let us not discuss how I should design my application's output so
as to accomodate the limitations of AspectJ. I would much prefer to
discuss the options to remove those limitations. Otherwise this will be
an endless thread of messages of really minor interest to the rest of
the group's members.



Back to the top