[cdi-dev] [JBoss JIRA] (CDI-546) Constant for default observer priority

Jozef Hartinger (JIRA) issues at jboss.org
Wed Jul 22 02:13:06 EDT 2015

Jozef Hartinger created CDI-546:

             Summary: Constant for default observer priority
                 Key: CDI-546
                 URL: https://issues.jboss.org/browse/CDI-546
             Project: CDI Specification Issues
          Issue Type: Feature Request
            Reporter: Jozef Hartinger
            Priority: Minor

Currently we use:

    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.

This message was sent by Atlassian JIRA

More information about the cdi-dev mailing list