Re: [OS-JIRA] Created: (WOL-498) Wod binding validation doesn't allow protected or package methods

From: Chuck Hill (chil..lobal-village.net)
Date: Wed Jun 20 2007 - 18:50:37 EDT

  • Next message: Jonathan Miller: "Re: Anything on WAR or SSDD deployments?"

    I agree and I think this is exactly why it is not supported. It is
    valid, for now. But it is bad style and to be discouraged. IMO

    IIRC, the package ones only work due to using the default package and
    that is going away in the next version of Java.

    Chuck

    On Jun 20, 2007, at 8:34 AM, Guido Neitzer wrote:

    > On 20.06.2007, at 03:10, Marc Guenther (JIRA) wrote:
    >
    >> The binding validation "sees" only public methods, and ignores the
    >> existance of protected and package default methods. But WO allows
    >> all three of them, no?
    >
    > It does but it is bad style because it uses KVC which works around
    > the Java privacy mechanism. It is perhaps not a bad idea to no
    > encourage that.
    >
    > cug
    >

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Wed Jun 20 2007 - 18:51:22 EDT