public void removeLinks ( ServiceReference < D > declarationSRef ) { D declaration = getDeclaration ( declarationSRef ) ; for ( ServiceReference serviceReference : declaration . getStatus ( ) . getServiceReferencesBounded ( ) ) { // FIXME : In case of multiples Linker, we will remove the link of all the ServiceReference // FIXME : event the ones which dun know nothing about linkerManagement . unlink ( declaration , serviceReference ) ; } }
Remove all the existing links of the Declaration .