[
https://issues.jboss.org/browse/CDI-546?page=com.atlassian.jira.plugin.sy...
]
George Gastaldi commented on CDI-546:
-------------------------------------
Although this is specified as a default for CDI 2.0, is it safe to assume that this value
will be default for other specs that use the Interceptor annotation (eg. EJB)? Maybe we
should involve the EJB spec team in this?
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:
{code:JAVA}
@Override
public default int getPriority() {
return javax.interceptor.Interceptor.Priority.APPLICATION + 500;
};
{code}
It would be nice to have the value stored as a constant e.g.:
{code:JAVA}
int DEFAULT_PRIORITY=javax.interceptor.Interceptor.Priority.APPLICATION + 500;
{code}
so that other code can reference it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)