Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 32346 invoked from network); 2 Feb 2011 08:14:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 08:14:29 -0000 Received: (qmail 56076 invoked by uid 500); 2 Feb 2011 08:14:29 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 55937 invoked by uid 500); 2 Feb 2011 08:14:27 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 55927 invoked by uid 99); 2 Feb 2011 08:14:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 08:14:26 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [61.9.189.149] (HELO nschwmtas05p.mx.bigpond.com) (61.9.189.149) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 08:14:18 +0000 Received: from nschwotgx03p.mx.bigpond.com ([61.9.223.241]) by nschwmtas05p.mx.bigpond.com with ESMTP id <20110202081355.GPJH11322.nschwmtas05p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com> for ; Wed, 2 Feb 2011 08:13:55 +0000 Received: from [10.1.1.2] (really [61.9.223.241]) by nschwotgx03p.mx.bigpond.com with ESMTP id <20110202081355.GICL16083.nschwotgx03p.mx.bigpond.com@[10.1.1.2]> for ; Wed, 2 Feb 2011 08:13:55 +0000 Message-ID: <4D4910C9.4050902@zeus.net.au> Date: Wed, 02 Feb 2011 18:07:37 +1000 From: Peter Firmstone User-Agent: Thunderbird 2.0.0.14 (X11/20080531) MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: MarshalledServiceItem References: <4D45C8A5.6010309@zeus.net.au> <52044E7A-F5A2-4470-AA5F-9922C0328639@wonderly.org> <4D485B3A.4050508@cox.net> <1296633015.23168.56.camel@mkleczek-laptop> In-Reply-To: <1296633015.23168.56.camel@mkleczek-laptop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150203.4D491243.00EC,ss=1,fgs=0 Michal Kleczek wrote: > On Tue, 2011-02-01 at 13:12 -0600, Gregg Wonderly wrote: > >>> Digging through classes belonging to a service implementation that is >>> designed to be encapsulated/not your concern? Does that sound right? I gotta >>> say, it sounds horribly invasive, very hacky and speaks of an overly complex >>> solution as the result of treating symptoms, not problems. >>> >> Okay, I want to go through the problems that I was dealing with, the attributes >> of the current mechanisms, and how I inserted points of control to manage these >> issues. >> >> First, let's look at the simple client mechanisms I wanted to have. I have a >> desktop environment, which does lookup, and then shows treeviews of services >> based on "machine"->"group"->Service Instance structure. The deployed services >> contain Entry objects that provide values for these three name spaces. Since I >> need to look at these, they can not be preferred by the service or I can't read >> them. There may be a subclass that the client has used, and that can be >> preferred no problem. There are some other items in the Entrys that I need too, >> such as icons. Any of the Entry objects that I need access to, and any classes >> which they are dependent on, and which are publicly visible classes/interfaces, >> because of that attribute (public) can not be realistically preferred. >> > > I think I'm with Dan here - looks to me like a misuse of LUS. I see it > as a more or less dumb bootstrap mechanism - designed for _lookup_ not > _browsing_ . > Wouldn't a ServiceBrowserService (or a ServiceIndexingService) be a > solution? > > Michal > > Can you give an example? Peter.