org.apache.commons.inject.impl
Class AbstractBindingSet

java.lang.Object
  extended by org.apache.commons.inject.impl.AbstractBindingSet
Direct Known Subclasses:
ImmutableBindingSet, MutableBindingSet, ResolvableBindingSet

public class AbstractBindingSet
extends Object

A set of bindings, which are being collected to create, or implement an IInjector.


Nested Class Summary
protected static class AbstractBindingSet.BindingAndKey<T>
          The internal map of bindings uses this value.
static class AbstractBindingSet.MappedKey<T>
          The internal map of bindings uses this key.
protected static class AbstractBindingSet.ReducedKey<T>
           
 
Field Summary
protected  Map<AbstractBindingSet.ReducedKey<?>,List<AbstractBindingSet.BindingAndKey<?>>> map
           
 
Constructor Summary
protected AbstractBindingSet()
           
protected AbstractBindingSet(Map<AbstractBindingSet.ReducedKey<?>,List<AbstractBindingSet.BindingAndKey<?>>> pMap)
           
 
Method Summary
protected  List<AbstractBindingSet.BindingAndKey<?>> findOrCreateList(AbstractBindingSet.ReducedKey<?> pKey)
           
protected  boolean isMatching(IKey<?> pSearchKey, AbstractBindingSet.MappedKey<?> pMapKey)
           
protected
<T> AbstractBindingSet.ReducedKey<T>
newReducedKey(IKey<T> pKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

protected final Map<AbstractBindingSet.ReducedKey<?>,List<AbstractBindingSet.BindingAndKey<?>>> map
Constructor Detail

AbstractBindingSet

protected AbstractBindingSet(Map<AbstractBindingSet.ReducedKey<?>,List<AbstractBindingSet.BindingAndKey<?>>> pMap)

AbstractBindingSet

protected AbstractBindingSet()
Method Detail

newReducedKey

protected <T> AbstractBindingSet.ReducedKey<T> newReducedKey(IKey<T> pKey)

findOrCreateList

protected List<AbstractBindingSet.BindingAndKey<?>> findOrCreateList(AbstractBindingSet.ReducedKey<?> pKey)

isMatching

protected boolean isMatching(IKey<?> pSearchKey,
                             AbstractBindingSet.MappedKey<?> pMapKey)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.