Package org.jclouds.rest.config
Class BinderUtils
- java.lang.Object
-
- org.jclouds.rest.config.BinderUtils
-
public class BinderUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description BinderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <S,A>
voidbindHttpApi(com.google.inject.Binder binder, Class<A> api)
adds an explicit binding forasync
by parsing its annotations.
-
-
-
Method Detail
-
bindHttpApi
public static <S,A> void bindHttpApi(com.google.inject.Binder binder, Class<A> api)
adds an explicit binding forasync
by parsing its annotations.- Type Parameters:
S
- sync interface that blocksA
- api type with http annotations- Parameters:
binder
- guice binderapi
- type with http annotations
-
-