Hi, On 8/16/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On 8/16/07, Jukka Zitting <[EMAIL PROTECTED]> wrote: > > ....Have you considered how something like that could > > be implemented already now as a Jackrabbit-specific extension?... > > One idea (that might also be better than my former proposal for > JSR283) would be to add an additional setEventCargo(Object) method to > the JCR Session, instead of having to modify all the save() (and > move() as Thomas indicates) methods.
Sounds good. > We could implement this in Jackrabbit by creating two cargo-specific > interfaces, one for the Session and one for the Event, and having the > Jackrabbit Session and Event implement these in addition to the > official JCR interfaces. > > Is that in line with how Jackrabbit-specific stuff is done now, or do > you have another suggestion? For now I'd just put the extra methods directly on the SessionImpl and EventImpl classes. We can formalize them in a jackrabbit-api (or jackrabbit-jsr283) extension interface if they seem useful to a big enough audience. BR, Jukka Zitting