mirror of
https://github.com/sbt/sbt.git
synced 2026-10-07 18:43:31 +02:00
Launcher documentation
This commit is contained in:
@@ -2,10 +2,16 @@ package xsbti;
|
||||
|
||||
public interface AppProvider
|
||||
{
|
||||
/** Returns the ScalaProvider that this AppProvider will use. */
|
||||
public ScalaProvider scalaProvider();
|
||||
/** The ID of the application that will be created by 'newMain' or 'mainClass'.*/
|
||||
public ApplicationID id();
|
||||
|
||||
/** Loads the class for the entry point for the application given by 'id'. This method will return the same class
|
||||
* every invocation. That is, the ClassLoader is not recreated each call.*/
|
||||
public Class<? extends AppMain> mainClass();
|
||||
/** Creates a new instance of the entry point of the application given by 'id'.
|
||||
* It is guaranteed that newMain().getClass() == mainClass()*/
|
||||
public AppMain newMain();
|
||||
|
||||
public ComponentProvider components();
|
||||
|
||||
Reference in New Issue
Block a user