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 public interface DynamicPluginLoader extends PluginLoader
10 {
11 /**
12 * Determines if this loader can load the jar.
13 * @param pluginArtifact The jar to test
14 * @return The plugin key, null if it cannot load the jar
15 * @throws com.atlassian.plugin.PluginParseException If there are exceptions parsing the plugin configuration
16 */
17 String canLoad(PluginArtifact pluginArtifact) throws PluginParseException;
18 }