> From: Leo Sutic [mailto:[EMAIL PROTECTED]]
> 
> > From: Stephen McConnell [mailto:[EMAIL PROTECTED]]
> >
> > 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to