OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: ISSUE 13: ComponentContext.getProperty(...) ill defined


 
http://www.osoa.org/jira/browse/JAVA-13

Von: Mike Edwards [mailto:mike_edwards@uk.ibm.com]
Gesendet: Mittwoch, 10. Oktober 2007 15:11
An: OASIS Java
Betreff: [sca-j] NEW ISSUE: ComponentContext.getProperty(...) ill defined


RAISER:   Mike Edwards

TARGET: Description of ComponentContext.getProperty() method in Java Common Annotations & APIs, Section 1.7.1

DESCRIPTION:  ComponentContext.getProperty(...) does not describe what should be returned in the following
circumstances:

Java class has a property identified with a @Property annotation on a setter method, with a private field having a
default value:

private String location ="RTP";

@Property
public void setLocation(String location) {
    this.location = location;
}



...and there is no corresponding getter method for this property.

What value can/should getProperty(...) return in these circumstances?  There is no getter method so how does it
know what the actual value is?  It may be the default (which cannot be seen externally) or it may be a value
supplied by SCA configuration.

PROPOSAL:   None


Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]