com.google.inject.spi
Class DefaultConstructionProxyFactory

java.lang.Object
  extended by com.google.inject.spi.DefaultConstructionProxyFactory
All Implemented Interfaces:
ConstructionProxyFactory

public class DefaultConstructionProxyFactory
extends java.lang.Object
implements ConstructionProxyFactory

Default ConstructionProxyFactory implementation. Simply invokes the constructor. Can be reused by other ConstructionProxyFactory implementations.

Author:
crazybob@google.com (Bob Lee)

Constructor Summary
DefaultConstructionProxyFactory()
           
 
Method Summary
<T> ConstructionProxy<T>
get(java.lang.reflect.Constructor<T> constructor)
          Gets a construction proxy for the given constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConstructionProxyFactory

public DefaultConstructionProxyFactory()
Method Detail

get

public <T> ConstructionProxy<T> get(java.lang.reflect.Constructor<T> constructor)
Description copied from interface: ConstructionProxyFactory
Gets a construction proxy for the given constructor.

Specified by:
get in interface ConstructionProxyFactory