View Javadoc
1   package com.atlassian.plugin.loaders;
2   
3   import com.atlassian.plugin.PluginArtifact;
4   import com.atlassian.plugin.PluginParseException;
5   
6   /**
7    * Plugin loader that supports installed plugins at runtime
8    *
9    * @see com.atlassian.plugin.loaders.PluginLoader#isDynamicPluginLoader()
10   */
11  public interface DynamicPluginLoader extends PluginLoader {
12      /**
13       * Determines if this loader can load the jar.
14       *
15       * @param pluginArtifact The jar to test
16       * @return The plugin key, null if it cannot load the jar
17       * @throws com.atlassian.plugin.PluginParseException If there are exceptions parsing the plugin configuration
18       */
19      String canLoad(PluginArtifact pluginArtifact) throws PluginParseException;
20  }