Skip to content

Commit

Permalink
Fix the io.quarkus.virtual.threads split package
Browse files Browse the repository at this point in the history
The deployment package was only containing the processor. Thus, this commit just moves it to `io.quarkus.virtual.threads.deployment`
  • Loading branch information
cescoffier committed Nov 27, 2024
1 parent a36e483 commit d41d305
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
package io.quarkus.virtual.threads;
package io.quarkus.virtual.threads.deployment;

import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;

import io.quarkus.virtual.threads.VirtualThreads;
import io.quarkus.virtual.threads.VirtualThreadsConfig;
import io.quarkus.virtual.threads.VirtualThreadsRecorder;
import org.jboss.jandex.AnnotationInstance;

import io.quarkus.arc.deployment.AdditionalBeanBuildItem;
Expand All @@ -20,10 +23,10 @@ public class VirtualThreadsProcessor {
@BuildStep
@Record(ExecutionTime.STATIC_INIT)
public void setup(VirtualThreadsConfig config, VirtualThreadsRecorder recorder,
ShutdownContextBuildItem shutdownContextBuildItem,
LaunchModeBuildItem launchModeBuildItem,
BuildProducer<AdditionalBeanBuildItem> beans,
BuildProducer<SyntheticBeanBuildItem> producer) {
ShutdownContextBuildItem shutdownContextBuildItem,
LaunchModeBuildItem launchModeBuildItem,
BuildProducer<AdditionalBeanBuildItem> beans,
BuildProducer<SyntheticBeanBuildItem> producer) {
beans.produce(new AdditionalBeanBuildItem(VirtualThreads.class));
recorder.setupVirtualThreads(config, shutdownContextBuildItem, launchModeBuildItem.getLaunchMode());
producer.produce(
Expand Down

0 comments on commit d41d305

Please sign in to comment.