XMLWordPrintable

Details

    Description

      An alternative can be annotated with Priority.

      @Alternative @Priority(APPLICATION+100)
      public class MockAsynchronousService extends AsynchronousService {
      ...
      }
      

      That makes it enabled without declaring it in beans.xml.
      Value of Priority is used to resolve ambiguous dependencies.

      Attachments

        Issue Links

          Activity

            People

              scabanovich Viacheslav Kabanovich (Inactive)
              scabanovich Viacheslav Kabanovich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: