On Tue, 27 Apr 2004 09:03:15 +0200 "Henner Kollmann" <[EMAIL PROTECTED]> wrote:
HK> > HK> > I wanted to do this by simply changing: HK> > 1) DbEventInterceptor HK> > HK> > 2) DbEventInterceptorSupport HK> > HK> > 3) Table.processInterceptors HK> > HK> > 4) documentation to explain dbf will Only call POST_xxx HK> > interceptors when HK> > the process was executed and that changes to fieldValues in post HK> > interceptors does nothing of course. HK> HK> Yes, we should change the DbEventInterceptorSupport so that it will HK> support the old methods and the new methods. Simply add the old HK> style post interceptor as empty method and call it from the new HK> interceptor methods. HK> HK> So nobody must change their interceptor classes! HK> Only people who extends directly the interface must change methods. If normally people extends DbInterceptorSupport we can make bigger changes without affecting old classes. We can put the old methods as @deprecated and create new methods which call the old methods with the old parameters. What you think about creating a class to encapsulate the parameters and pass only a single parameter to the interceptors ? This will make easy to add pass new parameters to interceptors in the future. -- Ivan F. Martinez ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms