]
Rastislav Wagner closed JBIDE-15385.
------------------------------------
verified as a part of JBIDE-13228
Support annotation @Priority
----------------------------
Key: JBIDE-15385
URL:
https://issues.jboss.org/browse/JBIDE-15385
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: cdi
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Labels: new_and_noteworthy
Fix For: 4.2.0.Alpha1
An alternative can be annotated with Priority.
{code}
@Alternative @Priority(APPLICATION+100)
public class MockAsynchronousService extends AsynchronousService {
...
}
{code}
That makes it enabled without declaring it in beans.xml.
Value of Priority is used to resolve ambiguous dependencies.