@ ConditionalOnMissingBean @ ConditionalOnClass ( name = { "io.netty.channel.Channel" , "io.grpc.netty.NettyServerBuilder" } ) @ Bean public GrpcServerLifecycle nettyGrpcServerLifecycle ( final NettyGrpcServerFactory factory ) { return new GrpcServerLifecycle ( factory ) ; }
The server lifecycle bean for netty based server .