[
https://issues.apache.org/jira/browse/ISIS-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15265672#comment-15265672
]
ASF subversion and git services commented on ISIS-1370:
-------------------------------------------------------
Commit ce533253f8540cf990746260acdd99dc2e574805 in isis's branch
refs/heads/ISIS-1291 from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=ce53325 ]
ISIS-1370: move responsibility for publishing actions into the
ActionInvocationFacet (instead of in IsisTransaction and
DomainObjectInvocationHandler)
To this end, extract interface for PublishingServiceInternal, move to metamodel
module (out from runtime).
Also minor refactoring wihin PublishingServiceInternal(Default) itself.
> New PublisherService to simplify and replace PublishingService.
> ---------------------------------------------------------------
>
> Key: ISIS-1370
> URL: https://issues.apache.org/jira/browse/ISIS-1370
> Project: Isis
> Issue Type: New Feature
> 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).
> This also means that @DomainObject#publishingPayloadFactory() and
> @Action#publishingPayloadFactory() attributes are deprecated.
> ~~~
> In its place, will have a new PublisherService with a simplified API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)