public class DependencyLoader extends Object
ApplicationConfiguration.runWhenDependenciesLoaded(Command)
to
execute a command after all dependencies have finished loading.Constructor and Description |
---|
DependencyLoader() |
Modifier and Type | Method and Description |
---|---|
void |
loadDependencies(ValueMap json)
Loads the any dependencies present in the given json snippet.
|
void |
setConnection(ApplicationConnection connection)
Sets the ApplicationConnection this instance is connected to.
|
public void setConnection(ApplicationConnection connection)
connection
- The ApplicationConnection for this instancepublic void loadDependencies(ValueMap json)
json
- the JSON containing the dependencies to loadCopyright © 2022 Vaadin Ltd. All rights reserved.