@Factory
public class GrpcServerChannel
extends java.lang.Object
ManagedChannel
allowing communication with the embedded server.
Primarily used for testing.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Constructor and Description |
---|
GrpcServerChannel() |
Modifier and Type | Method and Description |
---|---|
protected io.grpc.ManagedChannel |
serverChannel(GrpcEmbeddedServer server,
java.util.concurrent.ExecutorService executorService,
java.util.List<io.grpc.ClientInterceptor> clientInterceptors) |
public static final java.lang.String NAME
@Singleton @Named(value="grpc-server") @Requires(beans=GrpcEmbeddedServer.class) @Bean(preDestroy="shutdown") protected io.grpc.ManagedChannel serverChannel(GrpcEmbeddedServer server, @Named(value="io") java.util.concurrent.ExecutorService executorService, java.util.List<io.grpc.ClientInterceptor> clientInterceptors)