Berin Loritsch wrote:
>>From: Peter Donald [mailto:[EMAIL PROTECTED]] 
>>
>>At 01:10 AM 6/10/2002 -0400, you wrote:
>>
>>>>>That way we can have a look at and play with the 
>>>>
>>interfaces until 
>>
>>>>>we like them.
>>>>
>>>>
>>>>Dont like the idea of hints and especially hate the idea 
>>>
>>that hints 
>>
>>>>be objects
>>>
>>>Pete, what's wrong with this?
>>
>>Do I have to say it again? ;) Okay lets try it another way ...
> 
> 
> Yes you do.
> 
> 
> 
>>Why is it needed?
> 
> 
> Let me remind you that you need it as well.  Let's say we are
> implementing an HTTP server.  The HTTP server needs to set up
> both SSL enabled and non SSL enabled connections.  You can't
> cleanly expect to be able to do this:
> 
> ConnectionManager regular =
> (ConnectionManager)m_manager.lookup(ConnectionManager.ROLE);
> ConnectionManager ssl =
> (ConnectionManager)m_manager.lookup(ConnectionManager.ROLE);
> 
> It's just plain ludicrous to be able to keep track of requests
> for a component and then return different instances for each one.
> You know it and I know it.

I second Berin.
One thing is a Role, another is a Flavor-Hint.
One is WHAT, the other is HOW.

"How" is less important than "what", as long as it gets done.

-- 
Nicola Ken Barozzi                   [EMAIL PROTECTED]
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to