@Test public void shouldCreateServiceFromClass() { assertServiceOne(GrpcServiceBuilder.create(ServiceOne.class, beanManager)); }
public static GrpcServiceBuilder create(Object service, BeanManager beanManager) { return new GrpcServiceBuilder(service.getClass(), Instance.singleton(service), beanManager); }
GrpcServiceBuilder extends AbstractServiceBuilder implements Builder<ServiceDescriptor> { public static GrpcServiceBuilder create(Object service, BeanManager beanManager) { return new GrpcServiceBuilder(service.getClass(), Instance.singleton(service), beanManager); } }
GrpcServiceBuilder extends AbstractServiceBuilder implements Builder<ServiceDescriptor> { public static GrpcServiceBuilder create(Object service, BeanManager beanManager) { return new GrpcServiceBuilder(service.getClass(), Instance.singleton(service), beanManager); } private  GrpcServiceBuilder(Class<?> serviceClass, Supplier<?> instance, BeanManager beanManager); }
GrpcServiceBuilder extends AbstractServiceBuilder implements Builder<ServiceDescriptor> { public static GrpcServiceBuilder create(Object service, BeanManager beanManager) { return new GrpcServiceBuilder(service.getClass(), Instance.singleton(service), beanManager); } private  GrpcServiceBuilder(Class<?> serviceClass, Supplier<?> instance, BeanManager beanManager); static GrpcServiceBuilder create(Object service, BeanManager beanManager); static GrpcServiceBuilder create(Class<?> serviceClass, BeanManager beanManager); static GrpcServiceBuilder create(Class<?> serviceClass, Supplier<?> instance, BeanManager beanManager); @Override ServiceDescriptor build(); }
GrpcServiceBuilder extends AbstractServiceBuilder implements Builder<ServiceDescriptor> { public static GrpcServiceBuilder create(Object service, BeanManager beanManager) { return new GrpcServiceBuilder(service.getClass(), Instance.singleton(service), beanManager); } private  GrpcServiceBuilder(Class<?> serviceClass, Supplier<?> instance, BeanManager beanManager); static GrpcServiceBuilder create(Object service, BeanManager beanManager); static GrpcServiceBuilder create(Class<?> serviceClass, BeanManager beanManager); static GrpcServiceBuilder create(Class<?> serviceClass, Supplier<?> instance, BeanManager beanManager); @Override ServiceDescriptor build();  }