[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [sca-j] A few more corrections in Java Common Annotations and APIs v1.0
Simon, I agree with you. I missed the reference to constructor in the second sentence. ++Vamsi Simon Nash <NASH@uk.ibm.com> To 28/04/2008 03:00 sca-j@lists.oasis-open.org cc Subject Re: [sca-j] A few more corrections in Java Common Annotations and APIs v1.0 Vamsi, For 1.8.14, I think better wording would be: The @Reference annotation type is used to annotate a Java class field, a setter method, or a constructor parameter that is used to inject a service that resolves the reference. The interface of the service injected is defined by the type of the Java class field or the type of the input parameter of the setter method or constructor. Simon Simon C. Nash, IBM Distinguished Engineer Member of the IBM Academy of Technology Tel. +44-1962-815156 Fax +44-1962-818999 C Vamsi <vamsic007@in.ibm.com> To 26/04/2008 18:36 sca-j@lists.oasis-open.org cc Subject [sca-j] A few more corrections in Java Common Annotations and APIs v1.0 A few more corrections on Java Common Annotations and APIs v1.0: Sec 1.8.3 - Line 1118 Existing: private String componentName; Change to: protected String componentName; ------------------ Sec 1.8.8 - Line 1232 Existing: void myDestroyMethod() { Change to: public void myDestroyMethod() { Reason: @Destroy annotation must be on a public method ------------------ Sec 1.8.11 - Line 1298 Exisitng: void myInitMethod() { Change to: public void myInitMethod() { Reason: @Init annotation must be on a public method ------------------ Sec 1.8.14 - Lines 1404 to 1406 1404 The @Reference annotation type is used to annotate a Java class field or a setter method that is used to 1405 inject a service that resolves the reference. The interface of the service injected is defined by the type of 1406 the Java class field or the type of the setter method input argument. Change to: The @Reference annotation type is used to annotate a Java class field or a setter method that is used to inject a service that resolves the reference or a constructor parameter. The interface of the service injected is defined by the type of the Java class field or the type of the setter method input argument. Reason: @Reference annotation can also be used on a constructor parameter. ------------------ Sec 1.8.19 - Line 1711 Existing: private String ConversationID; Change to: protected String ConversationID; ------------------- ++Vamsi --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 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]