You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/02/05 09:46:16 UTC

[jira] [Commented] (ISIS-685) Add new @Command(async=true|false) flag, so that Command is automatically scheduled to run in the background

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

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

Commit 4ce9e812ff6be219cdb1d4ca6df362491ea2f339 in branch refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=4ce9e81 ]

ISIS-667,ISIS-684,ISIS-685: async commands, tidy-up

ISIS-684:
- rename BackgroundActionService to BackgroundCommandService

ISIS-667:
- memberIdentifier, targetClass, targetAction, targetStr consistent across PublishedEventJdo, AuditEntryJdo, CommandJdo

ISIS-685:
- @Command annotation extended, with persistence() and executeIn() attributes
- corresponding updates to CommandFacet
- Command#executor and Command#executedIn keep track of whether being run by user or background
- ActionInvocationFacetViaMethod new logic, short-circuits execution if executor = user but executedIn = background,
  and return the command instead (if persistable)
- CommandService API extended to allow callers to request persistence of Command early
  (as used by ActionInvocationFacetViaMethod)


> Add new @Command(async=true|false) flag, so that Command is automatically scheduled to run in the background
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-685
>                 URL: https://issues.apache.org/jira/browse/ISIS-685
>             Project: Isis
>          Issue Type: New Feature
>          Components: Archetype: Simple WRJ, Archetype: ToDoApp WRJ, Core, Objectstore: JDO
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: archetype-simple-wrj-1.4.0, archetype-quickstart-wrj-1.4.0, objectstore-jdo-1.4.0, core-1.4.0
>
>
> Returns a background Command, has no parent user-initiated Command object.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)