Class DefaultPluginLoader

java.lang.Object
org.savantbuild.plugin.DefaultPluginLoader
All Implemented Interfaces:
PluginLoader

public class DefaultPluginLoader extends Object implements PluginLoader
Default plugin loader that uses the Savant dependency service and a URLClassLoader to load the plugin.
  • Field Details

    • RESOLVE_CONFIGURATION

      public static final org.savantbuild.dep.DependencyService.TraversalRules RESOLVE_CONFIGURATION
  • Constructor Details

    • DefaultPluginLoader

      public DefaultPluginLoader(Project project, RuntimeConfiguration runtimeConfiguration, org.savantbuild.output.Output output)
  • Method Details

    • load

      public Plugin load(org.savantbuild.dep.domain.Artifact pluginDependency)
      Loads the plugin with the given dependency.
      Specified by:
      load in interface PluginLoader
      Parameters:
      pluginDependency - The dependency definition of the plugin.
      Returns:
      The Plugin instance.