dev@jax-ws.java.net

Re: Changes to the WSDLGeneratorExtension api

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Tue, 07 Feb 2006 10:15:32 -0800

Doug Kohlert wrote:
> I have to disagree, if you leave it as an interface and we have current
> implementations of it, what happens
> if we add some new methods in a future release? All implementations
> would have to be updated to reflect
> the new APIs, however, if you use an abstract class with default
> implementations, then existing extensionhandlers
> would not need to be modified. Granted, if you change existing methods
> then subtle bugs will appear.
>
> Does anyone else have any thoughts on the subject?

+1 with an abstract class.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com