You used it in SCAClientImpl but I have fixed the code to use
Node.getService().
Node is the API/SPI to start/stop a node and lookup services. We should try
to keep the dependency minimum and not expose two many things. Can you tell
us why you need getEndpoints() from Node? We already have the
EndpointRegistry, and it can potentially have a method to
getEndpoints(nodeURI).
Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Wednesday, June 10, 2009 11:17 PM
To: <[email protected]>
Subject: Re: svn commit: r783578 - in
/tuscany/java/sca/modules/node-impl/src:
main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java
On Thu, Jun 11, 2009 at 12:51 AM, <[email protected]> wrote:
Author: rfeng
Date: Wed Jun 10 23:51:25 2009
New Revision: 783578
URL: http://svn.apache.org/viewvc?rev=783578&view=rev
Log:
Remove unused getEndpoints() method
Modified:
tuscany/java/sca/modules/node-impl/src/main/java/org/apache/tuscany/sca/node/impl/NodeImpl.java
tuscany/java/sca/modules/node-impl/src/test/java/org/apache/tuscany/sca/node/impl/NodeImplTestCase.java
Actually I am using this and was about to add the method to the Node
API. Is there a problem with being able to get the endpoints in a
Node?
...ant