Top Description Methods
com.google.inject.internal

pack-priv Interface ConstructionProxy<T>

Known Direct Implementers
com.google.inject.internal.DefaultConstructionProxyFactory.FastClassProxy, com.google.inject.internal.DefaultConstructionProxyFactory.ReflectiveProxy, com.google.inject.internal.ProxyFactory.ProxyConstructor
Imports
com.google.common.collect.ImmutableMap, com.google.inject.spi.InjectionPoint, java.lang.reflect.Constructor, .InvocationTargetException, .Method, java.util.List, org.aopalliance.intercept.MethodInterceptor

Proxies calls to a java.lang.reflect.Constructor for a class T.
Author
[email protected] (Bob Lee)

Method Summary

Modifier and TypeMethod and Description
public Constructor<T>
getConstructor()

Returns the injected constructor.

public InjectionPoint
getInjectionPoint()

Returns the injection point for this constructor.

public ImmutableMap<Method, List<MethodInterceptor>>
getMethodInterceptors()

Returns the interceptors applied to each method, in order of invocation.

public T
newInstance(Object... arguments)

Constructs an instance of T for the given arguments.

Method Detail

getConstructorback to summary
public Constructor<T> getConstructor()

Returns the injected constructor. If the injected constructor is synthetic (such as generated code for method interception), the natural constructor is returned.

getInjectionPointback to summary
public InjectionPoint getInjectionPoint()

Returns the injection point for this constructor.

getMethodInterceptorsback to summary
public ImmutableMap<Method, List<MethodInterceptor>> getMethodInterceptors()

Returns the interceptors applied to each method, in order of invocation.

newInstanceback to summary
public T newInstance(Object... arguments) throws InvocationTargetException

Constructs an instance of T for the given arguments.