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