[ 
https://issues.apache.org/jira/browse/ISIS-2195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16986752#comment-16986752
 ] 

ASF subversion and git services commented on ISIS-2195:
-------------------------------------------------------

Commit 8aa82557125cddb7172f4a1407f1a67eba39af0c in isis's branch 
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=8aa8255 ]

ISIS-2195: quits introspecting if method is not annotated with @Action but 
explicit action annotations required.


> Performance optimisation: short-circuit searching for actions if possible
> -------------------------------------------------------------------------
>
>                 Key: ISIS-2195
>                 URL: https://issues.apache.org/jira/browse/ISIS-2195
>             Project: Isis
>          Issue Type: Improvement
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> If explicit actions are configured 
> (isis.reflector.explicit-annotions.action=true) then any method that does not 
> have @Action annotation by definition is not an action.  We should therefore 
> check for this early on when introspecting a domain type's method, to avoid 
> searching more deeply than we would otherwise care.
> We should also avoid looking at a method's parameters and return types until 
> we've decided that the method is an action (either explicitly or implicitly).
> The side-effect of not doing this is that we end up with types that otherwise 
> don't need to be in the metamodel, meaning that startup takes longer.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to