Venkata Krishnan wrote:
Hi,

I just observed that, not all bindings are extending from
AbstractBinding though all implement the interface Binding.  The
AbstractBinding class provides an implementation for the Binding
interface and in my opinion should be used by all bindings to avoid
duplication of code that implements the BInding interface.

I feel the pinch for this now as I am adding a couple of things for
policies and seems a bit odd to go an copy over the same things across
a dozen classes.

Let me know what people feel about this and I can go and fix all the
bindings for this.

Thanks.

- Venkat

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



This might sound like a naive question, but if all bindings start to extend a common AbstractBinding class then why will we need a Binding interface at all? :)

Another way to look at this is that maybe the code that you're copying shouldn't be part of the binding in the first place. Could you please point to the specific code bits causing the issue to help me understand? Thanks.

--
Jean-Sebastien


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

Reply via email to