On 15/08/06, Edward Slattery <[EMAIL PROTECTED]> wrote:
Im not saying that inheritance wouldnt work in SCA - it probably would.
I'm saying it wouldn't work ;-) As the spec stands you get an INSTANCE of ComponentContext returned from getCurrent(). So we either us no inheritance and just code up the implementation in ComponentContext or we use containment to get the implementation separation. Even if getCurrent() returned a ComponentContextImpl it's methods would not get called once it was assigned as a ComponentContext. If the spec stated that a pointer was returned then we could use inheritance. Cheers, -- Pete