From dbf480b801818da0cc295198566b31a0a61e93af Mon Sep 17 00:00:00 2001 From: Marco Collovati Date: Wed, 21 Aug 2024 12:00:54 +0200 Subject: [PATCH] fix: remove build time bean definition for RouteUnifyingServiceInitListener (#874) --- .../hilla/deployment/QuarkusHillaExtensionProcessor.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/deployment-commons/src/main/java/com/github/mcollovati/quarkus/hilla/deployment/QuarkusHillaExtensionProcessor.java b/deployment-commons/src/main/java/com/github/mcollovati/quarkus/hilla/deployment/QuarkusHillaExtensionProcessor.java index 1f502377..b7f88111 100644 --- a/deployment-commons/src/main/java/com/github/mcollovati/quarkus/hilla/deployment/QuarkusHillaExtensionProcessor.java +++ b/deployment-commons/src/main/java/com/github/mcollovati/quarkus/hilla/deployment/QuarkusHillaExtensionProcessor.java @@ -34,7 +34,6 @@ import com.vaadin.hilla.Endpoint; import com.vaadin.hilla.push.PushEndpoint; import com.vaadin.hilla.push.PushMessageHandler; -import com.vaadin.hilla.startup.RouteUnifyingServiceInitListener; import io.quarkus.arc.deployment.AdditionalBeanBuildItem; import io.quarkus.arc.deployment.AnnotationsTransformerBuildItem; import io.quarkus.arc.deployment.BeanContainerBuildItem; @@ -248,12 +247,6 @@ void registerBeans(BuildProducer beans) { .setDefaultScope(BuiltinScope.SINGLETON.getName()) .setUnremovable() .build()); - - beans.produce(AdditionalBeanBuildItem.builder() - .addBeanClass(RouteUnifyingServiceInitListener.class) - .setDefaultScope(BuiltinScope.APPLICATION.getName()) - .setUnremovable() - .build()); } @BuildStep