public void removeLinks ( ServiceReference < S > declarationBinderRef ) { for ( D declaration : linkerManagement . getMatchedDeclaration ( ) ) { if ( declaration . getStatus ( ) . getServiceReferencesBounded ( ) . contains ( declarationBinderRef ) ) { linkerManagement . unlink ( declaration , declarationBinderRef ) ; } } }
Remove all the existing links of the DeclarationBinder .