avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: [Summary] Avalon 5 ComponentManager interface
Date Wed, 12 Jun 2002 15:46:23 GMT
> From: Leo Sutic [mailto:leo.sutic@inspireinfrastructure.com]
> 
> > From: Stephen McConnell [mailto:mcconnell@osm.net]
> >
> > Leo Sutic wrote:

<snip/>

> > >  /**
> > >   * 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.

<snip/>

Vadim



--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message