public boolean canBeLinked ( D declaration , ServiceReference < S > declarationBinderRef ) { // Evaluate the target filter of the ImporterService on the Declaration Filter filter = bindersManager . getTargetFilter ( declarationBinderRef ) ; return filter . matches ( declaration . getMetadata ( ) ) ; }
Return true if the Declaration can be linked to the ImporterService .