Packages

object Plugin

...

Source
Plugin.scala
Version

1.0, 2007-5-21

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

Type Members

  1. type AnyClass = Class[_]

Value Members

  1. def instantiate(clazz: AnyClass, global: Global): Plugin

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

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

    Use a class loader to load the plugin class.

  3. 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.