Skip to content

SpringApplication.from(...) should provide access to the created context #35203

@philwebb

Description

@philwebb

It would be nice if this pattern could be used:

ApplicationContext ctx = SpringApplication.from(MyApp::main).run(args);

We already have some capture logic for our test support so it might be possible to support this.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions