Can you point to me where the method is used in your code? I would like to
understand the use case.
Thanks,
Raymond
--------------------------------------------------
From: "ant elder" <[email protected]>
Sent: Friday, June 12, 2009 2:55 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:32 PM, ant elder<[email protected]> wrote:
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
I've put back this method now so that my other code keeps compiling.
I'm totally fine with changing it or coming up with some new
management interface or whatever else, but lets get consensus and
implement that _before_ deleting this old method.
...ant