question: public final boolean remove ( final URI serviceURI ) { boolean modified = false ; synchronized ( this ) { if ( aliases . remove ( serviceURI ) != null ) { modified = true ; } final ServiceFactory factory = services . remove ( serviceURI ) ; if ( factory != null ) { modified = true ; if ( factory instanceof CustomServiceFactory ) { customServices . remove ( factory ) ; } } } return modified ; }
target:  Remove a service from the registry and/or set of known aliases.