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 2016/04/12 09:09:25 UTC
[jira] [Commented] (ISIS-1370) Simplify PublishingService,
deprecate concept of payload factories.
[ https://issues.apache.org/jira/browse/ISIS-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236718#comment-15236718 ]
ASF subversion and git services commented on ISIS-1370:
-------------------------------------------------------
Commit fec5e920899df6f95146a21b3fb4ef7b92180b7b in isis's branch refs/heads/ISIS-1291 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=fec5e92 ]
ISIS-1370: removing concept of payload factories from PublishingService.
> Simplify PublishingService, deprecate concept of payload factories.
> -------------------------------------------------------------------
>
> Key: ISIS-1370
> URL: https://issues.apache.org/jira/browse/ISIS-1370
> Project: Isis
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.12.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: 1.13.0
>
>
> Most PublishingService implementations (to date) only require the metadata (action invocation or domain object identity) to publish their events; the notion of the payload (to eagerly assemble information for the downstream subscribers) seems less useful.
> This ticket is therefore to deprecate the PublishingService#publish(EventMetadata, EventPayload), and replace with PublishingService2#publish(EventMetadata).
> In addition, the framework will be changed so that for the existing API taking a payload, this will now just be passed in as null.
> This also means that @DomainObject#publishingPayloadFactory() and @Action#publishingPayloadFactory() attributes are deprecated (will have no effect).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)