public interface AppProvider
| Modifier and Type | Method and Description |
|---|---|
ComponentProvider |
components()
Returns a mechanism you can use to install/find/resolve components.
|
java.lang.Class<?> |
entryPoint()
Loads the class for the entry point for the application given by 'id'.
|
ApplicationID |
id()
The ID of the application that will be created by 'newMain' or 'mainClass'.
|
java.lang.ClassLoader |
loader()
The classloader used to load this application.
|
java.lang.Class<? extends AppMain> |
mainClass()
Deprecated.
|
java.io.File[] |
mainClasspath()
The classpath from which the main class is loaded, excluding Scala jars.
|
AppMain |
newMain()
Creates a new instance of the entry point of the application given by 'id'.
|
ScalaProvider |
scalaProvider()
Returns the ScalaProvider that this AppProvider will use.
|
ScalaProvider scalaProvider()
ApplicationID id()
java.lang.ClassLoader loader()
@Deprecated java.lang.Class<? extends AppMain> mainClass()
java.lang.Class<?> entryPoint()
AppMain newMain()
java.lang.IncompatibleClassChangeError - if the configuration used for this Application does not
represent a launched application.java.io.File[] mainClasspath()
ComponentProvider components()