public class GuiceUtils extends Object
Constructor and Description |
---|
GuiceUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasExplicitBindingFor(com.google.inject.Injector injector,
Class<?> type) |
static boolean |
hasExplicitBindingFor(com.google.inject.Injector injector,
com.google.inject.Key<?> key) |
static <T> javax.inject.Provider<T> |
providerForComponentFactory(Class<? extends ComponentFactory<T>> componentFactoryClass) |
static <T> javax.inject.Provider<T> |
providerForComponentFactory(ComponentFactory<T> componentFactory) |
static <T> javax.inject.Provider<T> |
providerForInstance(T instance) |
public static <T> javax.inject.Provider<T> providerForInstance(T instance)
public static <T> javax.inject.Provider<T> providerForComponentFactory(Class<? extends ComponentFactory<T>> componentFactoryClass)
public static <T> javax.inject.Provider<T> providerForComponentFactory(ComponentFactory<T> componentFactory)
public static boolean hasExplicitBindingFor(com.google.inject.Injector injector, Class<?> type)
public static boolean hasExplicitBindingFor(com.google.inject.Injector injector, com.google.inject.Key<?> key)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.