W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1997


From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Fri, 28 Feb 1997 08:31:27 +0100 (MET)
Message-Id: <199702280731.IAA25605@www43.inria.fr>
To: Dave Makower <davemak@pencom.com>
Cc: Jigsaw Mailing List <www-jigsaw@w3.org>, "MetaMagic.Group":;
Dave Makower writes:
 > Anselm:
 > Why isn't registerResource() in DirectoryResource defined in StoreContainer
 > instead?  All of the methods it calls are present in StoreContainer, and it
 > doesn't have any physical file-system-dependent code.  It seems that just
 > about any useful subclass of StoreContainer will need to define
 > registerResource() in the same way as DirectoryResource does.  Do you think
 > maybe it should be moved up?

I guess the reason I didn't do it is because of the call to

This method is abstract for sub-classes of StoreContainer because it
*has* to implement default initialization of the resource before
addResource (the protected one) is called to attach the resource to
the container.

Does this makes sense ? Would you still have a registerResource method
in StoreContainer along with an abstract initializeChild method
instead ?

Received on Friday, 28 February 1997 02:31:37 UTC

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