@Qualifier @Documented @Retention(value=RUNTIME) public @interface Named
Example usage:
public class Car { @Inject @Named("driver") Seat driverSeat; @Inject @Named("passenger") Seat passengerSeat; ... }
public abstract String value
Copyright © 2021 JBoss by Red Hat. All rights reserved.