org.apache.commons.inject.api.bind
Interface IBinder


public interface IBinder

A IBinder is passed as an argument to modules. Modules use the binder to create bindings.


Nested Class Summary
static interface IBinder.IInjectionListener
           
static interface IBinder.IInjectionParticipator
           
static interface IBinder.IInjectorBuildListener
           
 
Method Summary
 boolean add(IBinder.IInjectionListener pListener)
           
 boolean add(IBinder.IInjectionParticipator pParticipator)
           
 boolean add(IBinder.IInjectorBuildListener pListener)
           
<T> IAnnotatedBindingBuilder<T>
bind(Class<T> pType)
           
<T> IAnnotatedBindingBuilder<T>
bind(Class<T> pType, String pName)
           
<T> ILinkedBindingBuilder<T>
bind(IKey<T> pKey)
           
 

Method Detail

bind

<T> IAnnotatedBindingBuilder<T> bind(Class<T> pType)

bind

<T> IAnnotatedBindingBuilder<T> bind(Class<T> pType,
                                     String pName)

bind

<T> ILinkedBindingBuilder<T> bind(IKey<T> pKey)

add

boolean add(IBinder.IInjectionListener pListener)

add

boolean add(IBinder.IInjectorBuildListener pListener)

add

boolean add(IBinder.IInjectionParticipator pParticipator)


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