Big +1, specific events have nothing to do in observation API they
should be where they makes sense.

On Wed, Nov 3, 2010 at 10:00, Vincent Massol <[email protected]> wrote:
> Hi,
>
> We have created a mess we need to fix ASAP since event classes are public. 
> Here's a proposal:
>
> * Move Documents events (and all model events in general: classes, objects, 
> etc) to the Model module in an event package (org.xwiki.model.event).

When moving it we should improve them and start using references (and
maybe have some kind of AbstractEntityEvent to prepare events on any
entity that would be a real nice to have) and most importantly rename
DocumentSaveEvent.

> * Move Action events to xwiki-core for now (in a com.xpn.xwiki.event package)
> * Move Annotations events to the annotation-core module in 
> org.xwiki.annotation.event package
> * Move script events to the xwiki-script module (in org.xwiki.script.event 
> package)
> * Move Attachments events to xwiki-core for now (in a com.xpn.xwiki.event 
> package)
> * Move Application started/stopped events to xwiki-container-api (in a 
> org.xwiki.container.event package)
>
> +1 from me
>
> Thanks
> -Vincent
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to