Class GrpcServiceDefinition
java.lang.Object
net.devh.boot.grpc.server.service.GrpcServiceDefinition
Container class that contains all relevant information about a grpc service.
- Since:
- 5/17/16
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGrpcServiceDefinition
(String beanName, Class<?> beanClazz, ServerServiceDefinition definition) Creates a new GrpcServiceDefinition. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
Gets the class of the grpc service bean.Gets the name of the grpc service bean.Gets the grpc service definition.
-
Constructor Details
-
GrpcServiceDefinition
public GrpcServiceDefinition(String beanName, Class<?> beanClazz, ServerServiceDefinition definition) Creates a new GrpcServiceDefinition.- Parameters:
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.
-
-
Method Details
-
getBeanName
Gets the name of the grpc service bean.- Returns:
- The name of the bean.
-
getBeanClazz
Gets the class of the grpc service bean.- Returns:
- The class of the grpc service bean.
-
getDefinition
Gets the grpc service definition.- Returns:
- The grpc service definition.
-