|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface AppProvider
This represents an interface that can generate applications or servers. This provider grants access to launcher related features associated with the id.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||