public boolean unregister ( ) { if ( serviceRegistrationHandle . isPresent ( ) ) { registrar . unregister ( serviceRegistrationHandle . get ( ) ) ; serviceRegistrationHandle = Optional . absent ( ) ; return true ; } return false ; }
Unregister a set of service endpoints previously registered .