How do you use the Endpoints looked up from Node? Is it a management interface?

Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Thursday, June 11, 2009 8:32 AM
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 4:25 PM, Raymond Feng<[email protected]> wrote:

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).


I use in in some of the Tomcat integration I'm doing. Having a way to
query what endpoints a Node has seems quite natural and in keeping
with the exsiting start/stop/query services it already has, and that
seems a much nicer way of doing it than having a getEndpoints(nodeURI)
to the EndpointRegistry.

So if that was all can we add this back then?

...ant

Reply via email to