[Zope3-dev] N-Tuple Adapters

Steve Alexander steve@cat-box.net
Tue, 03 Jun 2003 10:23:45 +0300


 >>To find an adapter that accepts (IFooFolder, IHTTPRequest), we
>>have to search for a registered adapter that requires a set of 
>>interfaces, in the following order:
>>
>>1. (IFooFolder, IHTTPRequest)
>>2. (IFolder, IHTTPRequest)
>>3. (IFooFolder, IRequest)
>>4. (IFolder, IRequest)
> 
> 
> And this smells like Java type-based Method Resolution...

Well, sort of, but resolved based on runtime type not static type.

--
Steve Alexander