org.apache.commons.inject.impl
Class DefaultInjector

java.lang.Object
  extended by org.apache.commons.inject.impl.AbstractInjector
      extended by org.apache.commons.inject.impl.DefaultInjector
All Implemented Interfaces:
IInjector

public class DefaultInjector
extends AbstractInjector

Default implementation of an injector.


Constructor Summary
DefaultInjector(ImmutableBindingSet pBindings)
           
 
Method Summary
protected
<T> IBinding<T>
getBinding(IKey<T> pKey)
           
protected  IMutableBindingSource getBindingSource()
           
protected
<T> IBinding<T>
requireBinding(IKey<T> pKey)
           
 
Methods inherited from class org.apache.commons.inject.impl.AbstractInjector
getInstance, getInstance, getInstance, injectMembers, requireInstance, requireInstance, requireInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInjector

public DefaultInjector(ImmutableBindingSet pBindings)
Method Detail

getBinding

protected <T> IBinding<T> getBinding(IKey<T> pKey)
Specified by:
getBinding in class AbstractInjector

requireBinding

protected <T> IBinding<T> requireBinding(IKey<T> pKey)
Specified by:
requireBinding in class AbstractInjector

getBindingSource

protected IMutableBindingSource getBindingSource()


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