All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seezoon.grpc.server.GrpcServiceDefinition Maven / Gradle / Ivy

The newest version!
package com.seezoon.grpc.server;

import io.grpc.BindableService;
import io.grpc.ServerServiceDefinition;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * Container class that contains all relevant information about a grpc service.
 *
 * @see GrpcServiceDiscovery
 */
@Getter
@Setter
@AllArgsConstructor
public class GrpcServiceDefinition {

    private final String beanName;
    private final Class beanClazz;
    /**
     * protoc auto gen grpc service code implements  {@link BindableService}
     *
     * @see BindableService#bindService()
     */
    private final ServerServiceDefinition definition;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy