Uses of Interface
com.google.inject.Binding

Packages that use Binding
com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. 
com.google.inject.grapher   
com.google.inject.internal Guice (sounds like like "juice") 
com.google.inject.multibindings Extension for binding multiple instances in a collection; this extension requires guice-multibindings-3.0.jar
com.google.inject.spi Guice service provider interface 
 

Uses of Binding in com.google.inject
 

Methods in com.google.inject that return Binding
<T> Binding<T>
Injector.getBinding(Class<T> type)
          Returns the binding for the given type.
<T> Binding<T>
Injector.getBinding(Key<T> key)
          Returns the binding for the given injection key.
<T> Binding<T>
Injector.getExistingBinding(Key<T> key)
          Returns the binding if it already exists, or null if does not exist.
 

Methods in com.google.inject that return types with arguments of type Binding
<T> List<Binding<T>>
Injector.findBindingsByType(TypeLiteral<T> type)
          Returns all explicit bindings for type.
 Map<Key<?>,Binding<?>> Injector.getAllBindings()
          Returns a snapshot of this injector's bindings, both explicit and just-in-time.
 Map<Key<?>,Binding<?>> Injector.getBindings()
          Returns this injector's explicit bindings.
 

Methods in com.google.inject with parameters of type Binding
static boolean Scopes.isSingleton(Binding<?> binding)
          Returns true if binding is singleton-scoped.
 

Uses of Binding in com.google.inject.grapher
 

Methods in com.google.inject.grapher with parameters of type Binding
protected  K GraphingVisitor.getClassNodeId(Binding<?> binding)
          Helper method to return the standard node ID for the Binding's Key.
protected  K GraphingVisitor.getInstanceNodeId(Binding<?> binding)
          Helper method to return the instance node ID for the Binding's Key.
protected  M GraphingVisitor.newClassImplementationNode(Binding<?> binding, InjectionPoint constructorInjectionPoint, Collection<InjectionPoint> memberInjectionPoints)
          Creates and returns a new ImplementationNode for the given Binding, where the Binding is for a class that Guice will instantiate, rather than a specific instance.
protected  M GraphingVisitor.newInstanceImplementationNode(Binding<?> binding, Object instance)
          Creates and returns a new ImplementationNode for the given Binding, where the Binding is for an instance, rather than a class.
protected  N GraphingVisitor.newInterfaceNode(Binding<?> binding)
          Creates and returns a new InterfaceNode object for the given Binding.
 

Uses of Binding in com.google.inject.internal
 

Classes in com.google.inject.internal that implement Binding
 class BindingImpl<T>
           
 class ExposedBindingImpl<T>
           
 class LinkedBindingImpl<T>
           
 

Uses of Binding in com.google.inject.multibindings
 

Methods in com.google.inject.multibindings that return types with arguments of type Binding
 List<Binding<?>> MultibinderBinding.getElements()
          Returns all bindings that make up the set.
 List<Map.Entry<?,Binding<?>>> MapBinderBinding.getEntries()
          Returns all entries in the Map.
 

Uses of Binding in com.google.inject.spi
 

Subinterfaces of Binding in com.google.inject.spi
 interface ConstructorBinding<T>
          A binding to the constructor of a concrete clss.
 interface ConvertedConstantBinding<T>
          A binding created from converting a bound instance to a new type.
 interface ExposedBinding<T>
          A binding to a key exposed from an enclosed private environment.
 interface InstanceBinding<T>
          A binding to a single instance.
 interface LinkedKeyBinding<T>
          A binding to a linked key.
 interface ProviderBinding<T extends Provider<?>>
          A binding to a Provider that delegates to the binding for the provided type.
 interface ProviderInstanceBinding<T>
          A binding to a provider instance.
 interface ProviderKeyBinding<T>
          A binding to a provider key.
 interface UntargettedBinding<T>
          An untargetted binding.
 

Methods in com.google.inject.spi with parameters of type Binding
<T> V
ElementVisitor.visit(Binding<T> binding)
          Visit a mapping from a key (type and optional annotation) to the strategy for getting instances of the type.
<T> V
DefaultElementVisitor.visit(Binding<T> binding)
           
protected  V DefaultBindingTargetVisitor.visitOther(Binding<? extends T> binding)
          Default visit implementation.
 



Copyright © 2006-2011 Google, Inc.. All Rights Reserved.