org.apache.commons.inject.impl
Class MutableBindingSet

java.lang.Object
  extended by org.apache.commons.inject.impl.AbstractBindingSet
      extended by org.apache.commons.inject.impl.MutableBindingSet
All Implemented Interfaces:
IMutableBindingSource

public class MutableBindingSet
extends AbstractBindingSet
implements IMutableBindingSource


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.inject.impl.AbstractBindingSet
AbstractBindingSet.BindingAndKey<T>, AbstractBindingSet.MappedKey<T>, AbstractBindingSet.ReducedKey<T>
 
Field Summary
 
Fields inherited from class org.apache.commons.inject.impl.AbstractBindingSet
map
 
Constructor Summary
MutableBindingSet()
           
 
Method Summary
<T> void
add(AbstractBindingSet.MappedKey<T> pKey, IBinding<T> pBinding)
           
<T> IBinding<T>
requireBinding(IKey<T> pKey, String pCause)
           
 
Methods inherited from class org.apache.commons.inject.impl.AbstractBindingSet
findOrCreateList, isMatching, newReducedKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutableBindingSet

public MutableBindingSet()
Method Detail

add

public <T> void add(AbstractBindingSet.MappedKey<T> pKey,
                    IBinding<T> pBinding)

requireBinding

public <T> IBinding<T> requireBinding(IKey<T> pKey,
                                      String pCause)
Specified by:
requireBinding in interface IMutableBindingSource


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