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 class
DefaultConstructionProxyFactory.FastClassProxy<T>
AConstructionProxy
that uses FastClass to invoke the constructor.private static class
DefaultConstructionProxyFactory.ReflectiveProxy<T>
-
Field Summary
Fields Modifier and Type Field Description private InjectionPoint
injectionPoint
-
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:ConstructionProxyFactory
Gets a construction proxy for the given constructor.- Specified by:
create
in interfaceConstructionProxyFactory<T>
-
-