| A Design Pattern Dictionary | ||
Section | - The Dictionary | ||
Foil | 29 | - Startup Registration idiom |
www | ||||
.swskilltree | Page published 2003/12/11, updated 2009/8/2. Copyright © 2016 by Avner Ben. All rights reserved. | |||
.org |
Context:
|
Some population in a Singleton registry (e.g. Dynamic Pluggable Factory) represents the application default . |
||||||
Challenge: |
To make the default population register automatically. |
||||||
Skill: |
The system shall have the capability to let the default object population be registered spontaneously...
|
||||||
Participants: |
|
||||||
Signature: |
(In modular languages:) Registration code follows the Concrete Citizen type definition. (In conventionally-linked languages:) Global Concrete Citizen objects register themselves (in their own constructor). |
||||||
Used by: |
Global registration mechanisms, e.g. Dynamic Pluggable Factory. |
||||||
Scope: |
Languages that support either modularity or global objects. |