W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Re: programming question

From: Yves Lafon <ylafon@w3.org>
Date: Fri, 31 Mar 2000 16:56:44 +0200 (MET DST)
To: "Yanick Gamelin (LMC)" <lmcyaga@lmc.ericsson.se>
cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.21.0003311643510.6412-100000@tarantula.inria.fr>
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)

      /\          - 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:28 UTC