Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@apache.org Received: (qmail 70211 invoked from network); 12 Jun 2002 15:46:43 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Jun 2002 15:46:43 -0000 Received: (qmail 6552 invoked by uid 97); 12 Jun 2002 15:46:45 -0000 Delivered-To: qmlist-jakarta-archive-avalon-dev@jakarta.apache.org Received: (qmail 6529 invoked by uid 97); 12 Jun 2002 15:46:44 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 6504 invoked by uid 98); 12 Jun 2002 15:46:44 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) From: "Vadim Gritsenko" To: "'Avalon Developers List'" Subject: RE: [Summary] Avalon 5 ComponentManager interface Date: Wed, 12 Jun 2002 11:46:23 -0400 Message-ID: <00e301c21228$4e434b20$0a00a8c0@vgritsenkopc> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <007401c21210$7619bc50$0801a8c0@Lagrange> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: Leo Sutic [mailto:leo.sutic@inspireinfrastructure.com] > > > From: Stephen McConnell [mailto:mcconnell@osm.net] > > > > Leo Sutic wrote: > > > /** > > > * Issues: > > > * > > > * - Should it throw Exceptions on failed lookup or return null? > > > * - Should it exist at all? > > > * - Should the hint be a String? > > > */ > > > public Object lookup (String role, Object hint); > > >} > > > > Two questions here. > > 1. Do you have examples of cases where the role and hint > > cannot reasonably be expressed as an opaque string ? > > Cocoon selects based on HttpServletRequest. Sure, as the Minor correction: Based on *state* of the system. This is composition of Context, Request, Session, and whatever you wrote by yourself. > request is a stream of characters coming in on a socket, > you can send that string on, but it is ugly ugly ugly. Vadim -- To unsubscribe, e-mail: For additional commands, e-mail: