ApplicationLaunch class final
How the running application was started, so that the same one can be
started again in another isolate: the bean springApplicationLaunch,
present when the application was run with what returns it
(SpringApplication.run(hotReload:), which the generated
runApplication passes).
The web server's pool of isolates (server.isolates.count) starts each
of its isolates with start. Everything here crosses to another
isolate: application must not use anything from around it (the
generated () => springApplication does not).
Constructors
Properties
-
additionalProfiles
→ List<
String> -
The profiles added for this launch.
final
- application → SpringApplication Function()
-
Returns the application.
final
-
args
→ List<
String> -
The command line.
final
- async → bool
-
Whether it was started with
runAsync.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
properties
→ Map<
String, Object?> -
The properties given over every other source.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
systemEnvironment
→ Map<
String, String> ? -
The environment variables given instead of the process's.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{Map< String, Object?> properties = const {}}) → Future<ConfigurableApplicationContext> -
Starts the application again, where this is called (another isolate),
with
propertiesover its own: the port to share, no banner. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited