public class GRpcServerRunner
extends java.lang.Object
implements org.springframework.boot.CommandLineRunner, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
GRpcServerRunner(java.util.function.Consumer<io.grpc.ServerBuilder<?>> configurator,
io.grpc.ServerBuilder<?> serverBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
run(java.lang.String... args) |
public GRpcServerRunner(java.util.function.Consumer<io.grpc.ServerBuilder<?>> configurator,
io.grpc.ServerBuilder<?> serverBuilder)
public void run(java.lang.String... args)
throws java.lang.Exception
run in interface org.springframework.boot.CommandLineRunnerjava.lang.Exceptionpublic void destroy()
throws java.lang.Exception
destroy in interface org.springframework.beans.factory.DisposableBeanjava.lang.Exception