Пример #1
0
 public ProviderLoader createLoader(final File file) {
   if (log.isDebugEnabled()) {
     log.debug("create JarFileProviderLoader: " + file);
   }
   return new JarPluginProviderLoader(
       file,
       pluginJarCacheDirectory,
       cachedir,
       JarPluginProviderLoader.getLoadLocalLibsFirstForFile(file));
 }
Пример #2
0
 @Override
 protected String getVersionForFile(final File file) {
   return JarPluginProviderLoader.getVersionForFile(file);
 }
Пример #3
0
 public boolean isValidPluginFile(final File file) {
   return JarPluginProviderLoader.isValidJarPlugin(file);
 }