commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharples, Colin" <Colin.sharp...@contact-energy.co.nz>
Subject RE: [digester] initial code for Digester2.0
Date Wed, 02 Feb 2005 22:33:17 GMT
> My major concern is that if we are going to warn people not 
> to implement the Action interface,
> then what really is the point of providing it in the first 
> place? As I said above, I just cannot
> think of any situation where a class would want to be an 
> Action *and* extend some other class.

Maybe I wasn't clear enough - I didn't say that the Action interface should not be implemented
by anything except the default implementation (what indeed would be the point of that?). The
point is, the majority of Actions that people create would extend the default implementation,
and would be (mostly) immune to API evolution. People who decide to implement Action directly
are free to do so - and they accept that if they do so then they will need to evolve with
the API. As Oliver said, if you use an interface then you have some extra options for how
you add functionality, such as adding new interfaces that extend Action. 

Colin Sharples
IBM Advisory IT Specialist
Email: sharples@nz.ibm.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message