Introduce ConfigurableApplicationContext.pause() and SmartLifecycle.isPauseable()

Closes gh-35269
This commit is contained in:
Juergen Hoeller
2025-08-01 15:08:15 +02:00
parent 96bc1f50c7
commit 149d468ce4
12 changed files with 191 additions and 53 deletions
@@ -391,7 +391,6 @@ class QuartzSupportTests {
try (ClassPathXmlApplicationContext ctx = context("databasePersistence.xml")) {
JdbcTemplate jdbcTemplate = new JdbcTemplate(ctx.getBean(DataSource.class));
assertThat(jdbcTemplate.queryForList("SELECT * FROM qrtz_triggers").isEmpty()).as("No triggers were persisted").isFalse();
ctx.stop();
ctx.restart();
}
}