Package javax.inject
Annotation Interface Named
String-based qualifier.
Example usage:
public class Car { @Inject @Named("driver") Seat driverSeat; @Inject @Named("passenger") Seat passengerSeat; ... }
-
Optional Element Summary
-
Element Details
-
value
String valueThe name.- Default:
- ""
-