|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
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.
@Target(value=CONSTRUCTOR) @Retention(value=RUNTIME) @Deprecated public @interface AssistedInject
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||