question: public void terminate ( ) { listeners . clear ( ) ; lookupDisc . terminate ( ) ; locatorDisc . terminate ( ) ; if ( dynamicLocatorDisc != null ) dynamicLocatorDisc . terminate ( ) ; }
target:  Terminates all threads, ending all discovery processing being performed by the current instance of this class. <p> After this method has been invoked, no new lookup services will be discovered, and the effect of any new operations performed on the current instance of this class are undefined.