public class GrpcServiceDefinition extends Object
GrpcServiceDiscoverer
Constructor and Description |
---|
GrpcServiceDefinition(String beanName,
Class<?> beanClazz,
ServerServiceDefinition definition)
Creates a new GrpcServiceDefinition.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBeanClazz()
Gets the class of the grpc service bean.
|
String |
getBeanName()
Gets the name of the grpc service bean.
|
ServerServiceDefinition |
getDefinition()
Gets the grpc service definition.
|
public GrpcServiceDefinition(String beanName, Class<?> beanClazz, 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 String getBeanName()
public Class<?> getBeanClazz()
public ServerServiceDefinition getDefinition()