Skip to content

Commit

Permalink
Allow for using RuntimeDelegate SPI in native mode
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand authored and bschuhmann committed Nov 16, 2024
1 parent 06ffa68 commit 8023263
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 8023263

Please sign in to comment.