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: 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



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