> 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.

That's the idea..... Philipp was a little bit angry that we have changed the 
interfaces without backwards compatibility - so i will
not do this again...

> 
> 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.

Any suggestion about the parameter?

Cheers,
Henner




-------------------------------------------------------
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

Reply via email to