You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2014/05/01 21:49:14 UTC

[jira] [Updated] (ISIS-550) Complete the guava EventBus support with new annotations

     [ https://issues.apache.org/jira/browse/ISIS-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-550:
-----------------------------

    Fix Version/s:     (was: core-2.0.0)
                   core-1.4.2

> Complete the guava EventBus support with new annotations
> --------------------------------------------------------
>
>                 Key: ISIS-550
>                 URL: https://issues.apache.org/jira/browse/ISIS-550
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: core-1.2.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: core-1.4.2
>
>
> A while back I introduced support for the Guava eventbus in the domain model, and introduced the @PostsPropertyChangedEvent.  This will cause the old/new values of the change to be sent to any (domain service) subscriber.
> This work is incomplete though.  We ought also to have some additional annotations for other significant actions.  I'm thinking:
> - @PostsCollectionAddedToEvent
> - @PostsCollectionRemovedFromEvent
> - @PostsActionInvokedEvent
> - @PostsObjectPersistedEvent
> - @PostsObjectDeletedEvent.  
> I think that this would probably cover most of the lifecycle events you would want to handle; it'd also be a pretty useful way of decoupling a domain model (without the overhead of publishing via Isis' PublishingService API).



--
This message was sent by Atlassian JIRA
(v6.2#6252)