Forgive me if I am wrong, but I thought that unknown annotations must be ignored by the Java compiler. If not, I stand corrected.

About logging: there is usually too much logging already. Logging is mostly useful for negative messages. Extracting more information from a log takes the hours I was talking about. :( Debugging is more effective most of the time.

Regards,
    Erik.

Igor Vaynberg wrote:
all these cons are invalid
you would also get class not found on the annotations like @SpringBean
and a log message tells you what modules have been initialized

:)

-igor

--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/

Reply via email to