Gilbert Kwan wrote:
In the spec of "Java Common Annotations and APIs"
(http://www.osoa.org/download/attachments/35/SCA_JavaAnnotationsAndAPIs_V100.pdf?version=1),
line 1710-1711 says

1710 @ConversationID
1711 private String ConversationID;

I tried and got following warning:
Apr 11, 2008 11:50:37 AM
org.apache.tuscany.sca.implementation.java.introspect.impl.JavaIntrospectionHelper
checkInvalidAnnotations
WARNING: Invalid annotation @org.osoa.sca.annotations.ConversationID()
is found on private java.lang.String
org.apache.tuscany.sca.vtest.javaapi.annotations.scope.impl.IServiceImpl.conversationId

Is it a spec or implementation error?

Thanks
Gilbert

Gilbert,

The intention was that injection should not occur onto private fields, for any artifact (Reference, Property, etc).

The spec has errors and they need fixing - we will raise Issues in OASIS for these.


Yours,  Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to