com.google.inject.spi
Interface ConstructionProxy<T>


public interface ConstructionProxy<T>

Proxies calls to a Constructor for a class T.

Author:
crazybob@google.com (Bob Lee)

Method Summary
 T newInstance(java.lang.Object... arguments)
          Constructs an instance of T for the given arguments.
 

Method Detail

newInstance

T newInstance(java.lang.Object... arguments)
              throws java.lang.reflect.InvocationTargetException
Constructs an instance of T for the given arguments.

Throws:
java.lang.reflect.InvocationTargetException