[jira] Closed: (TUSCANY-2145) SCADomain.getService () should throw exception when bogus component name is passed

2008-04-25 Thread Simon Laws (JIRA)
of unresolved references. However new work is starting on a new spec compliant API and I expect this subject will be revisited there. SCADomain.getService () should throw exception when bogus component name is passed

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-24 Thread ant elder
I'm going to close TUSCANY-2145 as working as designed in a few days unless someone says otherwise. I still get the feeling that there is actually no way for o.a.t.s.host.imbedded.impl.DefaultSCADomain to find any new services at invocation time so it could just throw the exception as suggested

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-24 Thread Simon Laws
On Thu, Apr 24, 2008 at 8:08 AM, ant elder [EMAIL PROTECTED] wrote: I'm going to close TUSCANY-2145 as working as designed in a few days unless someone says otherwise. I still get the feeling that there is actually no way for o.a.t.s.host.imbedded.impl.DefaultSCADomain to find any new

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-24 Thread Simon Laws
On Thu, Apr 24, 2008 at 8:49 AM, Simon Laws [EMAIL PROTECTED] wrote: On Thu, Apr 24, 2008 at 8:08 AM, ant elder [EMAIL PROTECTED] wrote: I'm going to close TUSCANY-2145 as working as designed in a few days unless someone says otherwise. I still get the feeling that there is actually

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-13 Thread Yang Lei
I think we should keep the following piece. As the comment said,create a remote service ref , so it can delegate to the binding implementation to handle remote case. // Lookup the component in the domain Component component = componentManager.getComponent(componentName);

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-11 Thread Mike Edwards
Simon Laws wrote: On Thu, Apr 10, 2008 at 10:45 AM, ant elder [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 10:28 AM, Simon Laws [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 9:17 AM, Wang Feng [EMAIL PROTECTED] wrote: +1 throw an exception. The scenario like this

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-11 Thread ant elder
On Fri, Apr 11, 2008 at 8:16 AM, Mike Edwards [EMAIL PROTECTED] wrote: Simon Laws wrote: On Thu, Apr 10, 2008 at 10:45 AM, ant elder [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 10:28 AM, Simon Laws [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 9:17 AM, Wang Feng

[jira] Commented: (TUSCANY-2145) SCADomain.getService () should throw exception when bogus component name is passed

2008-04-10 Thread ant elder (JIRA)
://svn.apache.org/viewvc?view=revrevision=570929 so it looks like it is intentional. I'll bring it up on the dev list but right now looks like this will be closed as Working-As-Designed. SCADomain.getService () should throw exception when bogus component name is passed

SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-10 Thread ant elder
TUSCANY-2145 asks about SCADomain.getService () returning a proxy even when the service doesn't exist, but looking back through the SVN history it looks like this is intentional. Before I close the JIRA does anyone have any comments on if this is/isn't the correct behaviour? ...ant

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-10 Thread Wang Feng
+1 throw an exception. The scenario like this class.getMethod(methodName). If a matching method is not found,it will throw NoSuchMethodException. Thanks, Wang Feng On 2008-04-10,ant elder [EMAIL PROTECTED] wrote: TUSCANY-2145 asks about SCADomain.getService () returning a proxy even when the

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-10 Thread Simon Laws
On Thu, Apr 10, 2008 at 9:17 AM, Wang Feng [EMAIL PROTECTED] wrote: +1 throw an exception. The scenario like this class.getMethod(methodName). If a matching method is not found,it will throw NoSuchMethodException. Thanks, Wang Feng On 2008-04-10,ant elder [EMAIL PROTECTED] wrote:

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-10 Thread ant elder
On Thu, Apr 10, 2008 at 10:28 AM, Simon Laws [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 9:17 AM, Wang Feng [EMAIL PROTECTED] wrote: +1 throw an exception. The scenario like this class.getMethod(methodName). If a matching method is not found,it will throw NoSuchMethodException.

Re: SCADomain.getService () should throw exception when bogus component name is passed?

2008-04-10 Thread Simon Laws
On Thu, Apr 10, 2008 at 10:45 AM, ant elder [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 10:28 AM, Simon Laws [EMAIL PROTECTED] wrote: On Thu, Apr 10, 2008 at 9:17 AM, Wang Feng [EMAIL PROTECTED] wrote: +1 throw an exception. The scenario like this class.getMethod(methodName).

[jira] Created: (TUSCANY-2145) SCADomain.getService () should throw exception when bogus component name is passed

2008-03-27 Thread Kevin Williams (JIRA)
SCADomain.getService () should throw exception when bogus component name is passed -- Key: TUSCANY-2145 URL: https://issues.apache.org/jira/browse/TUSCANY-2145 Project