diff --git a/server/runtime/src/main/java/org/infinispan/quarkus/server/runtime/graal/SubstituteClientClasses.java b/server/runtime/src/main/java/org/infinispan/quarkus/server/runtime/graal/SubstituteClientClasses.java index a495f261..80caf202 100644 --- a/server/runtime/src/main/java/org/infinispan/quarkus/server/runtime/graal/SubstituteClientClasses.java +++ b/server/runtime/src/main/java/org/infinispan/quarkus/server/runtime/graal/SubstituteClientClasses.java @@ -19,16 +19,16 @@ import java.util.concurrent.ExecutorService; @Substitute -@TargetClass(className = "org.infinispan.client.hotrod.impl.transport.netty.TransportHelper") +@TargetClass(className = "org.infinispan.client.hotrod.impl.transport.netty.DefaultTransportFactory") final class SubstituteTransportHelper { @Substitute - static Class socketChannel() { + public Class socketChannelClass() { return NioSocketChannel.class; } @Substitute - static EventLoopGroup createEventLoopGroup(int maxExecutors, ExecutorService executorService) { + public EventLoopGroup createEventLoopGroup(int maxExecutors, ExecutorService executorService) { return new NioEventLoopGroup(maxExecutors, executorService); } }