ru.dgolubets.jsmoduleloader.api.amd

AmdLoader

Related Docs: object AmdLoader | package amd

class AmdLoader extends AsyncScriptModuleLoader with Logging

AMD script loader. https://github.com/amdjs/amdjs-api/blob/master/AMD.md

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AmdLoader
  2. Logging
  3. AsyncScriptModuleLoader
  4. ScriptModuleLoader
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AmdLoader(scriptEngine: NashornScriptEngine, moduleReader: ScriptModuleReader)

    scriptEngine

    Engine where a loader should be instantiated

    moduleReader

    Script reader

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def engine: ScriptEngine

    ScriptEngine being used to load modules.

    ScriptEngine being used to load modules.

    returns

    Definition Classes
    AmdLoaderScriptModuleLoader
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. def lock[T](code: ⇒ T): T

    Executes a code block that uses the script engine, synchronized with the loader.

    Executes a code block that uses the script engine, synchronized with the loader. Every action against the ScriptEngine or produced native script objects needs to be synchronized.

    T

    Type of the code block expression

    code

    Synchronized code

    Definition Classes
    ScriptModuleLoader
  14. lazy val log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  18. def requireAsync(moduleId: String): Future[ScriptModule]

    Loads a module by id.

    Loads a module by id.

    moduleId

    Module absolute id

    returns

    Definition Classes
    AmdLoaderAsyncScriptModuleLoader
  19. def requireAsync(moduleIds: Seq[String]): Future[Seq[ScriptModule]]

    Loads few modules.

    Loads few modules.

    moduleIds

    Absolute ids of the modules to load

    returns

    Definition Classes
    AsyncScriptModuleLoader
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from AsyncScriptModuleLoader

Inherited from ScriptModuleLoader

Inherited from AnyRef

Inherited from Any

Ungrouped