You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2017/10/23 16:23:00 UTC

[jira] [Created] (TOMEE-2138) MockitoExtension.Bean must implement Prioritized

Mark Struberg created TOMEE-2138:
------------------------------------

             Summary: MockitoExtension.Bean must implement Prioritized
                 Key: TOMEE-2138
                 URL: https://issues.apache.org/jira/browse/TOMEE-2138
             Project: TomEE
          Issue Type: Bug
    Affects Versions: 8.0.0
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: 8.0.0


The MockitoExtension.Bean is an Alternative. 
But according to a spec clarifications those manual Beans also need to either get activated via beans.xml or need to implement the Prioritized interface. 

I'd give them a prio of 

{code}
        @Override
        public int getPriority() {
            return Interceptor.Priority.PLATFORM_AFTER+1000;
        }
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)