object ExtensionManager
Some simple notes on loading and unloading extensions: - The load method is called when an extension appears in the extensions block when it wasn't there in the last compilation - The unload method is called when an extension is removed from the extensions block
ExtensionManager lifecycle call chart. In [square brackets] are methods called on the extension manager. In {curly braces} are the methods called on the class manager of the extension. Conditions are specified in (parens)
[startFullCompilation] // called by compiler | | (no exts) (ext foo) | | | v | [importExtension(foo)] // called by compiler | | | | (foo loaded) (foo not loaded) | | | | v v | {unload} {runOnce} | | | | v v | +-----{load} | | | // return control to compiler |(foo:bar not used) (foo:bar used) | | | | | v | | [replaceIdentifer(foo:bar)] // foo added to live set | | | | | | v v v [finishFullCompilation] | | | (no ext) (foo live) (foo not live) | | | --- --- v {unload} | ---
- Source
- ExtensionManager.scala
- Alphabetic
- By Inheritance
- ExtensionManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class ExtensionData(extensionName: String, fileURL: URL, prefix: String, classManagerName: String, version: Option[String], modifiedRaw: Long) extends Product with Serializable
- trait ExtensionLoader extends AnyRef
- class JarContainer extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )