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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -