Uses of Class
com.google.inject.Key

Packages that use Key
com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. 
com.google.inject.binder Interfaces which make up Binder's expression language. 
 

Uses of Key in com.google.inject
 

Methods in com.google.inject that return Key
static
<T> Key<T>
Key.get(java.lang.Class<T> type)
          Gets a key for an injection type.
static
<T> Key<T>
Key.get(java.lang.Class<T> type, java.lang.annotation.Annotation annotation)
          Gets a key for an injection type and an annotation.
static
<T> Key<T>
Key.get(java.lang.Class<T> type, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Gets a key for an injection type and an annotation type.
static Key<?> Key.get(java.lang.reflect.Type type)
          Gets a key for an injection type.
static Key<?> Key.get(java.lang.reflect.Type type, java.lang.annotation.Annotation annotation)
          Gets a key for an injection type and an annotation.
static Key<?> Key.get(java.lang.reflect.Type type, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Gets a key for an injection type and an annotation type.
static
<T> Key<T>
Key.get(TypeLiteral<T> typeLiteral)
          Gets a key for an injection type.
static
<T> Key<T>
Key.get(TypeLiteral<T> typeLiteral, java.lang.annotation.Annotation annotation)
          Gets a key for an injection type and an annotation.
static
<T> Key<T>
Key.get(TypeLiteral<T> typeLiteral, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
          Gets a key for an injection type and an annotation type.
 Key<T> Binding.getKey()
          Returns the key for this binding.
 

Methods in com.google.inject that return types with arguments of type Key
 java.util.Map<Key<?>,Binding<?>> Injector.getBindings()
          Gets all explicit bindings.
 

Methods in com.google.inject with parameters of type Key
protected
<T> LinkedBindingBuilder<T>
AbstractModule.bind(Key<T> key)
           
<T> LinkedBindingBuilder<T>
Binder.bind(Key<T> key)
          Creates a binding to a key.
<T> Binding<T>
Injector.getBinding(Key<T> key)
          Gets a binding for the given key.
<T> T
Injector.getInstance(Key<T> key)
          Gets an instance bound to the given key; equivalent to getProvider(key).get().
<T> Provider<T>
Injector.getProvider(Key<T> key)
          Gets the provider bound to the given key.
<T> Provider<T>
Scope.scope(Key<T> key, Provider<T> unscoped)
          Scopes a provider.
 

Uses of Key in com.google.inject.binder
 

Methods in com.google.inject.binder with parameters of type Key
 ScopedBindingBuilder LinkedBindingBuilder.to(Key<? extends T> targetKey)
          Binds to another binding with the specified key.
 ScopedBindingBuilder LinkedBindingBuilder.toProvider(Key<? extends Provider<? extends T>> providerKey)
          Binds to instances from the provider bound to the given key.
 



Copyright © {inceptionYear}-2008 null. All Rights Reserved.