[ https://issues.apache.org/jira/browse/ISIS-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563342#comment-16563342 ]
ASF GitHub Bot commented on ISIS-1509: -------------------------------------- andi-huber commented on issue #55: ISIS-1509: Allow Factory Methods to be defined URL: https://github.com/apache/isis/pull/55#issuecomment-409151904 It has become unlikely, that this PR will every be merged. So I'm finally closing it. However, we are well aware of a missing UI feature here! Any progress regarding this topic is tracked here [1]. Dan has already worked out on 'paper' how this feature could look like, summarized here [2]. [1] https://issues.apache.org/jira/browse/ISIS-1509 [2] https://github.com/andi-huber/isis-2-demo/wiki/Delegates ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Allow Factory Methods to be defined > ----------------------------------- > > Key: ISIS-1509 > URL: https://issues.apache.org/jira/browse/ISIS-1509 > Project: Isis > Issue Type: New Feature > Components: Core > Affects Versions: 1.13.0 > Reporter: Oscar Bou > Priority: Major > Fix For: 2.4.0 > > Attachments: Slide1.PNG, Slide2.PNG, Slide3.PNG, factory-methods.pptx > > > Factory Methods should be able to be identified as that. > It could be useful, for example, when executing any action. > For any param of any type, Apache Isis could offer the option to create a new > instance by executing an action that both return that type and has been > identified as a Factory Method. > An example of defining a Factory Method could be: > {code:java} > class Concert { > @Action(factoryMethod=true) > public Concert someAction() { > return new Concert(); > } > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)