Class

com.bowlingx

JavascriptEngine

Related Doc: package bowlingx

Permalink

class JavascriptEngine extends Engine with EngineWatcher

Renders JavaScript with the nashorn engine.

Linear Supertypes
EngineWatcher, Engine, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavascriptEngine
  2. EngineWatcher
  3. Engine
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavascriptEngine(vendorFiles: ScriptResources, actorSystem: ActorSystem, lifecycle: ApplicationLifecycle, watchFiles: Boolean, renderTimeout: FiniteDuration, renderInstances: Int)(implicit context: ExecutionContext)

    Permalink

    vendorFiles

    vendor files that should be precompiled and executed before the rendering

    context

    implicit execution context

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val actorSystem: ActorSystem

    Permalink
    Definition Classes
    JavascriptEngineEngineWatcher
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bootstrap: ByteArrayInputStream

    Permalink

    returns

    js to bootstrap the VM with

    Attributes
    protected
    Definition Classes
    JavascriptEngineEngineWatcher
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def createCompiledScripts(): Try[CompiledScript]

    Permalink
    Attributes
    protected
    Definition Classes
    EngineWatcher
  9. def createRenderer(compiledScript: Try[CompiledScript]): ActorRef

    Permalink
    Definition Classes
    EngineWatcher
  10. val engine: ScriptEngine

    Permalink
    Attributes
    protected
    Definition Classes
    EngineWatcher
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def initScheduling()(implicit context: ExecutionContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    EngineWatcher
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val lifecycle: ApplicationLifecycle

    Permalink
    Definition Classes
    JavascriptEngineEngineWatcher
  19. val logger: Logger

    Permalink
    Definition Classes
    EngineWatcher
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def render[T](method: String, arguments: T*): Future[Try[Option[AnyRef]]]

    Permalink

    Delegates a rendering of something to a method

    Delegates a rendering of something to a method

    T

    any argument type

    method

    name of the method to call

    arguments

    arguments

    Definition Classes
    JavascriptEngineEngine
  24. val renderInstances: Int

    Permalink
    Definition Classes
    JavascriptEngineEngineWatcher
  25. val renderTimeout: FiniteDuration

    Permalink
    Definition Classes
    JavascriptEngineEngineWatcher
  26. var renderer: ActorRef

    Permalink
    Attributes
    protected
    Definition Classes
    EngineWatcher
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. val vendorFiles: ScriptResources

    Permalink

    vendor files that should be precompiled and executed before the rendering

    vendor files that should be precompiled and executed before the rendering

    Definition Classes
    JavascriptEngineEngineWatcher
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EngineWatcher

Inherited from Engine

Inherited from AnyRef

Inherited from Any

Ungrouped