eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HandleRegistry':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: HandleRegistry


Inheritance:

   Object
   |
   +--Collection
      |
      +--Set
         |
         +--Dictionary
            |
            +--IdentityDictionary
               |
               +--WeakIdentityDictionary
                  |
                  +--Registry
                     |
                     +--HandleRegistry

Package:
stx:libbasic
Category:
System-Support
Version:
rev: 1.11 date: 2021/01/20 11:03:17
user: cg
file: HandleRegistry.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


HandleRegistries are like Registries, in that they watch for the death of
a registered object. However, they send a self-change notification, passing the registered
handle as argument, instead of creating a shallow copy and letting it do the finalization.
Use Registry for objects which know themself how to clean up;
use HandleRegistry, if someone else does the cleanup.

copyright

COPYRIGHT (c) 1995 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Instance protocol:

dispose handling
o  informDispose: someHandle
an element was disposed; let my dependents know about this

redefined to block
o  register: anObject
not useful for HandleRegistry - use #register:as:

o  registerChange: anObject
not useful for HandleRegistry



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 24 Nov 2024 00:14:11 GMT