public synchronized void addListener ( Object l ) { if ( ! listeners . contains ( l ) ) { listeners . add ( l ) ; hasListeners = true ; } else logger . warn ( "ListenerManager.addListener already has Listener " + l ) ; }
Add a listener .