]
Viacheslav Kabanovich resolved JBIDE-8198.
------------------------------------------
Fix Version/s: 3.3.0.M1
(was: 3.3.x)
Resolution: Done
Support @Exact annotation
-------------------------
Key: JBIDE-8198
URL:
https://issues.jboss.org/browse/JBIDE-8198
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi (jsr-299)
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Labels: new_and_noteworthy
Fix For: 3.3.0.M1
2.2. @Exact
Annotating an injection point with @Exact allows you to select an exact implementation of
the injection point type to inject. For example:
interface PaymentService {
...
}
class ChequePaymentService implements PaymentService {
...
}
class CardPaymentService implements PaymentService {
...
}
class PaymentProcessor {
@Inject @Exact(CardPaymentService.class)
PaymentService paymentService;
...
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: