public interface

ConstructorBinding

implements Binding<T> HasDependencies
com.google.inject.spi.ConstructorBinding<T>

Class Overview

A binding to the constructor of a concrete clss. To resolve injections, an instance is instantiated by invoking the constructor.

Summary

Public Methods
abstract InjectionPoint getConstructor()
Gets the constructor this binding injects.
abstract Set<InjectionPoint> getInjectableMembers()
Returns all instance method and field injection points on type.
abstract Map<Method, List<MethodInterceptor>> getMethodInterceptors()
Returns the interceptors applied to each method, in the order that they will be applied.
[Expand]
Inherited Methods
From interface com.google.inject.Binding
From interface com.google.inject.spi.Element
From interface com.google.inject.spi.HasDependencies

Public Methods

public abstract InjectionPoint getConstructor ()

Gets the constructor this binding injects.

public abstract Set<InjectionPoint> getInjectableMembers ()

Returns all instance method and field injection points on type.

Returns
  • a possibly empty set of injection points. The set has a specified iteration order. All fields are returned and then all methods. Within the fields, supertype fields are returned before subtype fields. Similarly, supertype methods are returned before subtype methods.

public abstract Map<Method, List<MethodInterceptor>> getMethodInterceptors ()

Returns the interceptors applied to each method, in the order that they will be applied.

Returns
  • a possibly empty map