Class GrpcServiceDefinition

java.lang.Object
net.devh.boot.grpc.server.service.GrpcServiceDefinition

public class GrpcServiceDefinition extends Object
Container class that contains all relevant information about a grpc service.
Since:
5/17/16
See Also:
  • 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

      public String getBeanName()
      Gets the name of the grpc service bean.
      Returns:
      The name of the bean.
    • getBeanClazz

      public Class<?> getBeanClazz()
      Gets the class of the grpc service bean.
      Returns:
      The class of the grpc service bean.
    • getDefinition

      public ServerServiceDefinition getDefinition()
      Gets the grpc service definition.
      Returns:
      The grpc service definition.