Hi all,
Actually some of these things have been released, they were there before
these new events were added in 2.6. How should we approach this?
On 11/03/2010 10:00 AM, Vincent Massol 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).
these are already part of the API
* Move Action events to xwiki-core for now (in a
com.xpn.xwiki.event package)
these too
* 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)
these too, since 2.5.
* 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)
these too
Also, Comments should be moved to the core events, I would say, since
ftm the comments API is in the core.
I think what we could do for the moment is at least move the newly
created ones, and in the future we'll figure out what's the best
deprecation strategy for the existing ones. If there is a strategy that
works fast (besides breaking API) I agree to do it before the 2.6RC or
final.
Thanks,
Anca
+1 from me
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs