info.magnolia.objectfactory.guice
Class GuiceUtils
java.lang.Object
info.magnolia.objectfactory.guice.GuiceUtils
public class GuiceUtils
- extends Object
Utilities for guice.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiceUtils
public GuiceUtils()
providerForInstance
public static <T> javax.inject.Provider<T> providerForInstance(T instance)
providerForComponentFactory
public static <T> javax.inject.Provider<T> providerForComponentFactory(Class<? extends ComponentFactory<T>> componentFactoryClass)
providerForComponentFactory
public static <T> javax.inject.Provider<T> providerForComponentFactory(ComponentFactory<T> componentFactory)
hasExplicitBindingFor
public static boolean hasExplicitBindingFor(com.google.inject.Injector injector,
Class<?> type)
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.