Re: programming question

On Wed, 29 Mar 2000, Yanick Gamelin (LMC) wrote:

> when a http request is received, when/where is calculated the key used for
> retreiving the store file, (i mean witch function from witch class)
> 
> there is a way for a store to know the key associated with it ??

It is done during the lookup, for each container, it has an attribute
called "key", this attribute value is then used by the resource manager to
find the right store file and start the load if necessary.
So a store knows the key but only the resource manager knows the file.
The key is calculated one time, at the creation of the store file.
See createResourceStoreRepository() in ResourceStoreManager. (in 2.1)
Regards,

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    

Received on Friday, 31 March 2000 09:58:55 UTC