Class ServiceBindingHelper


  • public class ServiceBindingHelper
    extends Object
    Guice key that allows remap URI template of service. Example of usage in guice module:
         bind(ServiceBindingKey.of(MyService.class, "/my_path")).to(MyService.class);
     
    Author:
    andrew00x
    • Method Detail

      • bindingKey

        public static <T> com.google.inject.Key<T> bindingKey​(Class<T> clazz,
                                                              String path)