Dan Haywood created ISIS-542: -------------------------------- Summary: Restrict which entities a service action is contributed to (as either a contributed action or contributed assocation). Key: ISIS-542 URL: https://issues.apache.org/jira/browse/ISIS-542 Project: Isis Issue Type: New Feature Components: Core Affects Versions: core-1.2.0 Reporter: Dan Haywood Assignee: Dan Haywood Fix For: core-1.3.0
For example, an action void foo(A a, B b) { ... } will be contributed to both entities A and B. We might want to allow it to be contributed to one or the other. Suggestion is that @NotContributed annotation applies to action parameters (with current behaviour maintained for compatibility as the default for all parameters of the action): eg void foo( @NotContributed(As.Action) A, @NotContributed(As.Association) B) { ... } -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira