Skip to content

Commit

Permalink
Allow for using RuntimeDelegate SPI in native mode
Browse files Browse the repository at this point in the history
Fixes: quarkusio#44301
(cherry picked from commit 4af3754)
  • Loading branch information
geoand authored and gsmet committed Nov 12, 2024
1 parent 210f763 commit 37576b2
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.jboss.jandex.Indexer;
import org.jboss.jandex.MethodInfo;
import org.jboss.logging.Logger;
import org.jboss.resteasy.reactive.common.jaxrs.RuntimeDelegateImpl;
import org.jboss.resteasy.reactive.common.model.InterceptorContainer;
import org.jboss.resteasy.reactive.common.model.PreMatchInterceptorContainer;
import org.jboss.resteasy.reactive.common.model.ResourceInterceptor;
Expand Down Expand Up @@ -340,8 +339,7 @@ public void setupEndpoints(BeanArchiveIndexBuildItem beanArchiveIndexBuildItem,

@BuildStep
void registerRuntimeDelegateImpl(BuildProducer<ServiceProviderBuildItem> serviceProviders) {
serviceProviders.produce(new ServiceProviderBuildItem(RuntimeDelegate.class.getName(),
RuntimeDelegateImpl.class.getName()));
serviceProviders.produce(ServiceProviderBuildItem.allProvidersFromClassPath(RuntimeDelegate.class.getName()));
}

/*
Expand Down

0 comments on commit 37576b2

Please sign in to comment.