Next in thread → Next in month →

Re: [sca-j] JAVA-1: NoSuchDomainException

From
David Booz <>
Date
2009-06-30T11:34:33+00:00
ID
Thread
Re: [sca-j] JAVA-1: NoSuchDomainException
Yes. This is the point I was trying to make on the call, but I think you guys were having a hard time hearing me or I was talking over someone and didn't know it.  Anyway, big +1.

Dave Booz

STSM, BPM and SCA Architecture

Co-Chair OASIS SCA-Policy TC and SCA-J TC

"Distributed objects first, then world hunger"

Poughkeepsie, NY (845)-435-6093  or  8-295-6093

e-mail:

Simon Nash ---06/30/2009 05:53:22 AM---On the call yesterday, the comment was made that the "throws NoSuchDomainException" clause on getSer

From:

Simon Nash <>

To:

OASIS Java <>

Date:

06/30/2009 05:53 AM

Subject:

[sca-j] JAVA-1: NoSuchDomainException

On the call yesterday, the comment was made that the

"throws NoSuchDomainException" clause on getService() should

be moved to newInstance().

On further reflection, I think this needs to be on both methods.

This is because SCAClientFactory implementations could choose to

check that the domain exists either when newInstance() is called

or when getService() is called.  Also, even if an implementation does

check when newInstance() is called, the domain may no longer exist

when getService() is called.

   Simon

---------------------------------------------------------------------

To unsubscribe from this mail list, you must leave the OASIS TC that

generates this mail.  Follow this link to all your TCs in OASIS at:

https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
Next in thread → Next in month →