Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-546

Constant for default observer priority

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Minor
    • 2.0 .Final
    • None
    • None
    • None

    Description

      Currently we use:

          @Override
          public default int getPriority() {
              return javax.interceptor.Interceptor.Priority.APPLICATION + 500;
          };
      
      

      It would be nice to have the value stored as a constant e.g.:

      int DEFAULT_PRIORITY=javax.interceptor.Interceptor.Priority.APPLICATION + 500;
      

      so that other code can reference it.

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: