question: public void removeDiscoveryListener ( DiscoveryListener l ) { synchronized ( registrars ) { if ( terminated ) { throw new IllegalStateException ( "discovery terminated" ) ; } listeners . remove ( l ) ; } }
target:  Indicate that a listener is no longer interested in receiving DiscoveryEvent notifications.