private void removeServiceListeners ( String id ) { final ServiceListener [ ] listeners = serviceListeners . remove ( id ) ; if ( listeners != null ) for ( ServiceListener listener : listeners ) if ( listener != null ) { lock . readLock ( ) . lock ( ) ; try { if ( bundleContext != null ) bundleContext . removeServiceListener ( listener ) ; } finally { lock . readLock ( ) . unlock ( ) ; } } }
Unregister listeners for configurations processed by the metatype provider