The Specification is inconsistent since:
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 ...
My guess is that the example has a typo and should actually be:
1710 @ConversationID
1711 protected String ConversationID;
--Kevin
On Fri, Apr 11, 2008 at 10:01 AM, Gilbert Kwan <[EMAIL PROTECTED]> 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
>
> ---------------------------------------------------------------------
> 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]