public interface ServiceGuiceSupport extends ServiceClientGuiceSupport
Modifier and Type | Interface and Description |
---|---|
static class |
ServiceGuiceSupport.ClassServiceBinding<T> |
static class |
ServiceGuiceSupport.InstanceServiceBinding<T> |
static class |
ServiceGuiceSupport.ServiceBinding<T> |
Modifier and Type | Method and Description |
---|---|
default void |
bindServices(ServiceGuiceSupport.ServiceBinding<?>... serviceBindings) |
default <T> ServiceGuiceSupport.ServiceBinding<T> |
serviceBinding(Class<T> serviceInterface,
Class<? extends T> serviceImplementation) |
default <T> ServiceGuiceSupport.ServiceBinding<T> |
serviceBinding(Class<T> serviceInterface,
T service) |
bindClient
default void bindServices(ServiceGuiceSupport.ServiceBinding<?>... serviceBindings)
default <T> ServiceGuiceSupport.ServiceBinding<T> serviceBinding(Class<T> serviceInterface, Class<? extends T> serviceImplementation)
default <T> ServiceGuiceSupport.ServiceBinding<T> serviceBinding(Class<T> serviceInterface, T service)