Hi,
My understanding is that it's bug in the spec for the sample. The same spec
says:
502 1.6.6. Conversations ID
503
504 If a protected or public field or setter method is annotated with
@ConversationID, then the conversation
505 ID for the conversation is injected onto the field
Thanks,
Raymond
--------------------------------------------------
From: "Gilbert Kwan" <[EMAIL PROTECTED]>
Sent: Friday, April 11, 2008 9:01 AM
To: <[email protected]>
Subject: Can @ConversationID apply on private variable?
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]