4 Replies Latest reply: Feb 6, 2012 1:24 PM by George Vagenas RSS

How to find methods that @Observes for specific events

George Vagenas Newbie

Hi guys,


Is there an easy way to find all the methods that observe for a specific event?
CDI event producing/consuming mechanism is great to have a decoupled and really efficient design, but its getting hard when someone is trying to go through the code and debug it when he reach a fire(event) method, particularly when its not your code (sometimes happens with your code also ;-) ).


Thanks
George