The event-system is the successor of the Interceptor-stuff that might not be 
supported in future versions of Slide. Have a look at the package.html in the 
event package this should give you a good start.
If you have any questions just let me know.
Cheers,
Daniel

"Slide Developers Mailing List" <[email protected]> schrieb am 
10.03.05 10:11:50:
> 
> Ok, I will do that. Before starting my development, I just wanted to 
> study all the different possibilities and as somedy started to develop 
> Slide quotas based on Interceptors, I thought it could be a way. But I 
> will follow your advice.
> Sorry for my basic questions, I am not very aware of event and 
> interceptors yet. ;-)
> 
> Thank you very much for your help. (Thanks to Stephan too)
> 
> Thomas
> 
> Honor� David wrote:
> 
> > Thomas Bellembois wrote:
> >
> >> Hello,
> >>
> >> I have read on the mailing list that in 2001 somebody started to 
> >> develop Slide quota based on Interceptors, but apparently that 
> >> development was not completed (do you know why ?).
> >> Is there somewhere a sample of code about this work ?
> >>
> >> A technical question :
> >> A class "InsufficientStorageException" exists but is never used. To 
> >> be compliant with the "draft-ietf-webdav-quota-06" I would need to 
> >> throw this kind of exception in some classes in my Interceptor. Is 
> >> there a reason for this absence ? Would it be possible to modify the 
> >> interface "ContentInterceptor" to include it ?
> >>
> >> Thank you.
> >>
> >> Thomas
> >>
> > One's again look at the events system. Events are pretty much flexible 
> > than Interceptors and this is not very difficult to convert an 
> > ContentInterceptor to an EventListener.
> >
> > Listener can throw a VetoException (if vetoable event) ...
> > then just do something like that
> >
> >    throw (VetoException) new VetoException("no more disk 
> > space").initCause(new InsufficientStorageException(uri, user, "quota 
> > exceded"));
> >
> >
> >
> >
> > Have a nice day.
> >
> > Honor� David.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> -- 
> BELLEMBOIS Thomas
> CRI, Universit� de Rennes 1
> Campus de beaulieu
> Avenue du G�n�ral Leclerc
> 35042 RENNES Cedex
> T�l.: 02.23.23.69.60
> Mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to