public class Bootstrapper extends Object implements com.google.gwt.core.client.EntryPoint
Reads the configuration provided by the server in the DOM and starts the
client engine (ApplicationConnection).
Acts as the GWT entry point.
| Constructor and Description |
|---|
Bootstrapper() |
| Modifier and Type | Method and Description |
|---|---|
static JsArray<ApplicationConnection> |
getRunningApplications()
Gets a list of references to all running application instances.
|
void |
onModuleLoad() |
static void |
registerCallback(String widgetsetName)
Registers the callback that the bootstrap javascript uses to start
applications once the widgetset is loaded and all required information is
available.
|
static void |
startApplication(String applicationId)
Starts the application with a given id by reading the configuration
options stored by the bootstrap javascript.
|
public void onModuleLoad()
onModuleLoad in interface com.google.gwt.core.client.EntryPointpublic static void startApplication(String applicationId)
applicationId - id of the application to load, this is also the id of the html
element into which the application should be rendered.public static JsArray<ApplicationConnection> getRunningApplications()
public static void registerCallback(String widgetsetName)
widgetsetName - the name of this widgetsetCopyright © 2000–2022 Vaadin Ltd. All rights reserved.