• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

felleslosninger / einnsyn-backend / 23599962931

26 Mar 2026 02:32PM UTC coverage: 85.207% (+0.06%) from 85.152%
23599962931

Pull #644

github

web-flow
Merge 7c046220e into 146e69633
Pull Request #644: EIN-4955: Remove ip-client dependency

2649 of 3563 branches covered (74.35%)

Branch coverage included in aggregate %.

7955 of 8882 relevant lines covered (89.56%)

3.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

57.14
src/main/java/no/einnsyn/backend/utils/ApplicationShutdownListenerService.java
1
package no.einnsyn.backend.utils;
2

3
import java.util.concurrent.atomic.AtomicBoolean;
4
import lombok.extern.slf4j.Slf4j;
5
import org.springframework.context.ApplicationListener;
6
import org.springframework.context.event.ContextClosedEvent;
7
import org.springframework.stereotype.Component;
8

9
@Slf4j
4✔
10
@Component
11
public class ApplicationShutdownListenerService implements ApplicationListener<ContextClosedEvent> {
2✔
12

13
  private final AtomicBoolean shuttingDown = new AtomicBoolean(false);
7✔
14

15
  @Override
16
  public void onApplicationEvent(ContextClosedEvent event) {
17
    log.info("ContextClosedEvent received. Application is shutting down.");
×
18
    this.shuttingDown.set(true);
×
19
  }
×
20

21
  public boolean isShuttingDown() {
22
    return this.shuttingDown.get();
4✔
23
  }
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc