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

felleslosninger / einnsyn-backend / 22224950035

20 Feb 2026 12:55PM UTC coverage: 84.952% (-0.03%) from 84.978%
22224950035

push

github

web-flow
Merge pull request #600 from felleslosninger/EIN-4929-skjul-journalpostar-i-skjulte-saksmapper

EIN-4929: Hide direct children of hidden Saksmappe / Moetemappe

2510 of 3381 branches covered (74.24%)

Branch coverage included in aggregate %.

7629 of 8554 relevant lines covered (89.19%)

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