Class GrpcServerAutoConfiguration

java.lang.Object
org.springframework.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration

@AutoConfiguration(after=GrpcServerFactoryAutoConfiguration.class) @ConditionalOnBean(io.grpc.BindableService.class) @EnableConfigurationProperties(GrpcServerProperties.class) @Import(org.springframework.boot.grpc.server.autoconfigure.GrpcCodecConfiguration.class) public final class GrpcServerAutoConfiguration extends Object
Auto-configuration for Spring gRPC server-side components.

Spring gRPC must be on the classpath and at least one BindableService bean registered in the context in order for the auto-configuration to execute.

Since:
1.0.0
Author:
David Syer, Chris Bono
  • Constructor Details

    • GrpcServerAutoConfiguration

      public GrpcServerAutoConfiguration()