W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1996

Life span of a resource

From: mailing list receiver <bulk@digipub.be>
Date: Sun, 6 Oct 1996 23:18:36 +0100
Message-Id: <199610062117.VAA03661@alfa.digipub.be>
To: "jigsaw" <www-jigsaw@w3.org>

Could someone clear the fog for me please ;-)

1. When is a resource actually instantiated?
- Is the resource instantiated every time it is invoked,
is it instantiated once at jigsaw startup,
is it instantiated once at first invocation?

2. If i use a static variable in a resource, can I be
sure that it stays there untill jigsaw shuts down?

3. Is there a method in the resource that's
being called when jigsaw shuts down (for resource cleanup)?
finalize() does the job, but only when
garbage is collected ...

thanks in advance,
Koen Van Exem
Received on Sunday, 6 October 1996 17:15:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:30 UTC