public synchronized boolean isLoaderFor ( final ProviderIdent ident ) { final PluginMeta pluginMeta ; try { pluginMeta = getPluginMeta ( ) ; } catch ( IOException e ) { log . warn ( "Unable to load file meta: " + e . getMessage ( ) ) ; return false ; } if ( null == pluginMeta ) { return false ; } for ( final ProviderDef pluginDef : pluginMeta . getPluginDefs ( ) ) { if ( matchesProvider ( ident , pluginDef ) ) { return true ; } } return false ; }
Return true if the plugin file can loade a provider for the ident