[jbosstools-issues] [JBoss JIRA] (JBIDE-15385) Support annotation @Priority
Rastislav Wagner (JIRA)
issues at jboss.org
Mon Aug 11 04:32:30 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-15385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list