diff --git a/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/HazelcastCore.java b/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/HazelcastCore.java index e168693a66e..93a4f9b4808 100644 --- a/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/HazelcastCore.java +++ b/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/HazelcastCore.java @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright (c) [2016-2023] Payara Foundation and/or its affiliates. All rights reserved. + * Copyright (c) 2016-2024 Payara Foundation and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development @@ -76,6 +76,7 @@ import fish.payara.nucleus.events.HazelcastEvents; import jakarta.annotation.PostConstruct; import jakarta.inject.Inject; +import jakarta.inject.Named; import org.glassfish.api.StartupRunLevel; import org.glassfish.api.admin.ServerEnvironment; import org.glassfish.api.admin.ServerEnvironment.Status; @@ -169,6 +170,7 @@ public class HazelcastCore implements EventListener, ConfigListener { HazelcastRuntimeConfiguration configuration; @Inject + @Named(ServerEnvironment.DEFAULT_INSTANCE_NAME) HazelcastConfigSpecificConfiguration nodeConfig; @Inject