Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Component Architecture (SCA) Tools » Re: [frascati] SCA API in the STP/SCA project
Re: [frascati] SCA API in the STP/SCA project [message #575079] Mon, 25 May 2009 05:28
Vincent Zurczak is currently offline Vincent ZurczakFriend
Messages: 149
Registered: July 2009
Senior Member

Hi Lionel.

I CC'ed this question to the SCA Tools newsgroup.


Lionel Seinturier a écrit :
> Hi Stéphane,
> I have a couple of remarks about the SCA Java API that you committed
in the STP/SCA SVN:
> /
> I'm not sure whether there is a mailing list where these remarks can
be sent, so I'm sending them to you privately. In any case such a ML
exists and I missed it, do not hesitate to mention it: I'll resend my
message for the record and the community.
> 1/ In interface Conversation: shouldn't method getConversionID() be
spelled getConversationID()?
> Version 1.00 of the specs (Java Client and Implementation
Specification) says:
> ----------------------------
> public interface Conversation {
> Object getConversionID();
> void end();
> }
> The ServiceReference (sic!!) Java interface has the following methods:
> * getConversationID() – Returns the identifier for this conversation.
If a user-defined identity had been supplied for this reference then its
value will be returned; otherwise the identity generated by the system
when the conversation was initiated will be returned.
> * end() – Ends this conversation.
> ----------------------------
> The code snippet declares getConversionID, but the comment provides
the more intuitive version getConversationID. I guess we can assume that
the code snippet contains a typo and that the correct version is
> BTW it is also clear that the comment contains a typo: one should
read "The Conversation Java interface" and not "The ServiceReference
Java interface".
> 2/ Shouldn't class NoRegistredCallbackException be spelled
> 3/ It would be nice if the ConversationEndedException,
ServiceRuntimeException and ServiceUnavailableException exceptions would
declare four constructors to override the ones declared in RuntimeException:
> - no arg
> - (String)
> - (String,Throwable)
> - (Throwable)
> Lionel.

Vincent Zurczak
EBM WebSourcing
+33 (0) 4 38 12 16 77
Previous Topic:Run / Debug support for SCA Java projects
Next Topic:Re: [frascati] SCA API in the STP/SCA project
Goto Forum:

Current Time: Wed Jul 24 13:06:50 GMT 2024

Powered by FUDForum. Page generated in 0.04765 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top