Packages

object Plugin

Source
Plugin.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Plugin
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type AnyClass = Class[_]

Value Members

  1. val PluginXML: String
  2. def instantiate(clazz: AnyClass, global: Global): Plugin

    Instantiate a plugin class, given the class and the compiler it is to be used in.

  3. def load(classname: String, loader: ClassLoader): Try[AnyClass]

    Use a class loader to load the plugin class.

  4. def loadAllFrom(paths: List[List[Path]], dirs: List[Path], ignoring: List[String], findPluginClassloader: (Seq[Path]) => ClassLoader): List[Try[AnyClass]]

    Load all plugins specified by the arguments.

    Load all plugins specified by the arguments. Each location of paths must be a valid plugin archive or exploded archive. Each of paths must define one plugin. Each of dirs may be a directory containing arbitrary plugin archives. Skips all plugins named in ignoring. A classloader is created to load each plugin.