com.google.inject.assistedinject.AssistedInject |
This @interface is deprecated.
FactoryProvider
now works better with the standard @Inject
annotation. When using that annotation, parameters are matched by name and type rather than
by position. In addition, values that use the standard @Inject constructor
annotation are eligible for method interception.
Constructors annotated with @AssistedInject
indicate that they can be instantiated by
the FactoryProvider
. Each constructor must exactly match one corresponding factory method
within the factory interface.
Constructor parameters must be either supplied by the factory interface and marked with
@Assisted
, or they must be injectable.
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |