Package com.google.inject.internal
Class DefaultConstructionProxyFactory<T>
- java.lang.Object
-
- com.google.inject.internal.DefaultConstructionProxyFactory<T>
-
- All Implemented Interfaces:
ConstructionProxyFactory<T>
final class DefaultConstructionProxyFactory<T> extends java.lang.Object implements ConstructionProxyFactory<T>
Produces construction proxies that invoke the class constructor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classDefaultConstructionProxyFactory.FastClassProxy<T>AConstructionProxythat uses FastClass to invoke the constructor.private static classDefaultConstructionProxyFactory.ReflectiveProxy<T>
-
Field Summary
Fields Modifier and Type Field Description private InjectionPointinjectionPoint
-
Constructor Summary
Constructors Constructor Description DefaultConstructionProxyFactory(InjectionPoint injectionPoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstructionProxy<T>create()Gets a construction proxy for the given constructor.
-
-
-
Field Detail
-
injectionPoint
private final InjectionPoint injectionPoint
-
-
Constructor Detail
-
DefaultConstructionProxyFactory
DefaultConstructionProxyFactory(InjectionPoint injectionPoint)
- Parameters:
injectionPoint- an injection point whose member is a constructor ofT.
-
-
Method Detail
-
create
public ConstructionProxy<T> create()
Description copied from interface:ConstructionProxyFactoryGets a construction proxy for the given constructor.- Specified by:
createin interfaceConstructionProxyFactory<T>
-
-