@Factory
public class GrpcServerBuilder
extends java.lang.Object
ServerBuilder
instance. Here to allow extensions via a BeanCreatedEventListener
for ServerBuilder
.Constructor and Description |
---|
GrpcServerBuilder()
Deprecated.
Use
GrpcServerBuilder(HealthStatusManagerContainer) instead. |
GrpcServerBuilder(HealthStatusManagerContainer healthStatusManagerContainer)
Constructs the
ServerBuilder instance. |
Modifier and Type | Method and Description |
---|---|
protected io.grpc.ServerBuilder<?> |
serverBuilder(GrpcServerConfiguration configuration,
java.util.List<io.grpc.BindableService> serviceList,
java.util.List<io.grpc.ServerInterceptor> interceptors,
java.util.List<io.grpc.ServerTransportFilter> serverTransportFilters,
java.util.List<io.grpc.ServerServiceDefinition> serverServiceDefinitions)
The server builder instance.
|
@Deprecated public GrpcServerBuilder()
GrpcServerBuilder(HealthStatusManagerContainer)
instead.ServerBuilder
instance.@Inject public GrpcServerBuilder(@Nullable HealthStatusManagerContainer healthStatusManagerContainer)
ServerBuilder
instance.healthStatusManagerContainer
- if enabled, inject a GRPC health status manager.@Bean @Singleton protected io.grpc.ServerBuilder<?> serverBuilder(GrpcServerConfiguration configuration, @Nullable java.util.List<io.grpc.BindableService> serviceList, @Nullable java.util.List<io.grpc.ServerInterceptor> interceptors, @Nullable java.util.List<io.grpc.ServerTransportFilter> serverTransportFilters, @Nullable java.util.List<io.grpc.ServerServiceDefinition> serverServiceDefinitions)
configuration
- The configurationserviceList
- The bindable servicesinterceptors
- The server interceptorsserverTransportFilters
- The server transport filters