Skip to content

Commit 9dd2ff6

Browse files
committed
Fix netty transport substitution
1 parent 7f6adaa commit 9dd2ff6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/runtime/src/main/java/org/infinispan/quarkus/server/runtime/graal/SubstituteClientClasses.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
import java.util.concurrent.ExecutorService;
2020

2121
@Substitute
22-
@TargetClass(className = "org.infinispan.client.hotrod.impl.transport.netty.TransportHelper")
22+
@TargetClass(className = "org.infinispan.client.hotrod.impl.transport.netty.DefaultTransportFactory")
2323
final class SubstituteTransportHelper {
2424

2525
@Substitute
26-
static Class<? extends SocketChannel> socketChannel() {
26+
public Class<? extends SocketChannel> socketChannelClass() {
2727
return NioSocketChannel.class;
2828
}
2929

3030
@Substitute
31-
static EventLoopGroup createEventLoopGroup(int maxExecutors, ExecutorService executorService) {
31+
public EventLoopGroup createEventLoopGroup(int maxExecutors, ExecutorService executorService) {
3232
return new NioEventLoopGroup(maxExecutors, executorService);
3333
}
3434
}

0 commit comments

Comments
 (0)