@ Override public void unregisterOsgiProviders ( Collection < Object > providers ) throws FhirConfigurationException { if ( null == providers ) { throw new NullPointerException ( "FHIR Provider list cannot be null" ) ; } try { for ( Object provider : providers ) { log . trace ( "unregistered provider. class [" + provider . getClass ( ) . getName ( ) + "]" ) ; this . serverProviders . remove ( provider ) ; } super . unregisterProvider ( providers ) ; } catch ( Exception e ) { log . error ( "Error unregistering FHIR Providers" , e ) ; throw new FhirConfigurationException ( "Error unregistering FHIR Providers" , e ) ; } }
Dynamically unregisters a list of providers with the RestfulServer