Skip to content

Commit 68cc941

Browse files
committed
1401 fix javadoc generation with @lazy
1 parent b98047a commit 68cc941

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

digiwf-engine/digiwf-engine-service/src/main/java/de/muenchen/oss/digiwf/engine/incidents/IncidentNotifierHandler.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import de.muenchen.oss.digiwf.process.config.domain.model.ProcessConfig;
1010
import de.muenchen.oss.digiwf.process.config.domain.service.ProcessConfigService;
1111
import jakarta.mail.MessagingException;
12-
import lombok.RequiredArgsConstructor;
1312
import lombok.extern.slf4j.Slf4j;
1413
import lombok.val;
1514
import org.apache.logging.log4j.util.Strings;
@@ -33,7 +32,6 @@
3332
*/
3433
@Slf4j
3534
@Component
36-
@RequiredArgsConstructor(onConstructor_ = { @Lazy })
3735
@EnableConfigurationProperties(IncidentNotificationProperties.class)
3836
public class IncidentNotifierHandler extends BaseIncidentHandler {
3937

@@ -47,6 +45,16 @@ public class IncidentNotifierHandler extends BaseIncidentHandler {
4745

4846
private final IncidentNotificationProperties incidentNotificationProperties;
4947

48+
public IncidentNotifierHandler(@Lazy final RepositoryService repositoryService, @Lazy final RuntimeService runtimeService,
49+
final DigiwfEmailApi digiwfEmailApi, final ProcessConfigService processConfigService,
50+
final IncidentNotificationProperties incidentNotificationProperties) {
51+
this.repositoryService = repositoryService;
52+
this.runtimeService = runtimeService;
53+
this.digiwfEmailApi = digiwfEmailApi;
54+
this.processConfigService = processConfigService;
55+
this.incidentNotificationProperties = incidentNotificationProperties;
56+
}
57+
5058
@Override
5159
public Incident handleIncident(final IncidentContext context, final String message) {
5260
log.warn("Incident occurred");

0 commit comments

Comments
 (0)