Annotation Type Inject


@Retention(RUNTIME)
@Target(FIELD)
public @interface Inject
This annotation specify that the field on witch it is declared is a component dependency, the container will find (any/all) components that provides the service and inject the instance of it in this field. Cannot be use in static fields, but it may be use in parent classes of components.
Author:
Gilberto Vento