Package xsbti

Interface ScalaProvider

All Known Subinterfaces:
ExtendedScalaProvider

public interface ScalaProvider
Provides access to the jars and classes for a particular version of Scala.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates an application provider that will use 'loader()' as the parent ClassLoader for the application given by 'id'.
    Deprecated.
    Only `jars` can be reliably provided for modularized Scala.
    Returns the scala-library.jar and scala-compiler.jar for this version of Scala.
     
    Deprecated.
    Only `jars` can be reliably provided for modularized Scala.
    A ClassLoader that loads the classes from scala-library.jar and scala-compiler.jar.
    The version of Scala this instance provides.
  • Method Details

    • launcher

      Launcher launcher()
    • version

      String version()
      The version of Scala this instance provides.
    • loader

      ClassLoader loader()
      A ClassLoader that loads the classes from scala-library.jar and scala-compiler.jar.
    • jars

      File[] jars()
      Returns the scala-library.jar and scala-compiler.jar for this version of Scala.
    • libraryJar

      @Deprecated File libraryJar()
      Deprecated.
      Only `jars` can be reliably provided for modularized Scala. (Since 0.13.0)
    • compilerJar

      @Deprecated File compilerJar()
      Deprecated.
      Only `jars` can be reliably provided for modularized Scala. (Since 0.13.0)
    • app

      Creates an application provider that will use 'loader()' as the parent ClassLoader for the application given by 'id'. This method will retrieve the application if it has not already been retrieved.