events - Java: Find out which observer is listening -
i maintaining software have not written. know few parts of it. have found method, fires event.
public void cleanup(){ if(entity!=null) workflowcleanupevent.fire(entity); setentity(null); }
is there way find out listening on event?
using eclipse juno r2 , java 1.7.
regards lstrike
the way of knowing objects listening in on event, using list of listeners.
if there listeners, must have registered somewhere, start figuring out calling registering method. having identified that, should able access list/map of objects registered receive events.
it might if provide more details on class corresponding workflowcleanupevent
.
Comments
Post a Comment