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.10 date: 2016/06/28 09:07:21
user: stefan
file: HandleRegistry.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

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.


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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 19 Mar 2024 11:12:37 GMT