org.apache.commons.inject.impl
Class BindingProxy<T>

java.lang.Object
  extended by org.apache.commons.inject.impl.BindingProxy<T>
All Implemented Interfaces:
IBinding<T>, IInjectorAware

public class BindingProxy<T>
extends Object
implements IBinding<T>, IInjectorAware


Constructor Summary
BindingProxy(String pCause)
           
 
Method Summary
 String getCause()
           
 IPoint<T> getPoint()
          Returns the point, which can be used to inject members into an instance that has been created previously.
 IProvider<T> getProvider()
          Returns the provider, which can be used to create the instance.
 void init(IInjector pInjector)
           
 boolean isResolvedLater()
           
 void setBinding(IBinding<T> pBinding)
           
 void setResolvedLater(boolean pResolvedLater)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingProxy

public BindingProxy(String pCause)
Method Detail

isResolvedLater

public boolean isResolvedLater()

setResolvedLater

public void setResolvedLater(boolean pResolvedLater)

getProvider

public IProvider<T> getProvider()
Description copied from interface: IBinding
Returns the provider, which can be used to create the instance.

Specified by:
getProvider in interface IBinding<T>

getPoint

public IPoint<T> getPoint()
Description copied from interface: IBinding
Returns the point, which can be used to inject members into an instance that has been created previously.

Specified by:
getPoint in interface IBinding<T>

setBinding

public void setBinding(IBinding<T> pBinding)

getCause

public String getCause()

init

public void init(IInjector pInjector)
Specified by:
init in interface IInjectorAware


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