public class GrpcServiceDefinition
extends java.lang.Object
GrpcServiceDiscoverer
Constructor and Description |
---|
GrpcServiceDefinition(java.lang.String beanName,
java.lang.Class<?> beanClazz,
io.grpc.ServerServiceDefinition definition)
Creates a new GrpcServiceDefinition.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getBeanClazz()
Gets the class of the grpc service bean.
|
java.lang.String |
getBeanName()
Gets the name of the grpc service bean.
|
io.grpc.ServerServiceDefinition |
getDefinition()
Gets the grpc service definition.
|
public GrpcServiceDefinition(java.lang.String beanName, java.lang.Class<?> beanClazz, io.grpc.ServerServiceDefinition definition)
beanName
- The name of the grpc service bean in the spring context.beanClazz
- The class of the grpc service bean.definition
- The grpc service definition.public java.lang.String getBeanName()
public java.lang.Class<?> getBeanClazz()
public io.grpc.ServerServiceDefinition getDefinition()