<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Years ago I was trying to rationalise all the various functionality of Smalltalk/SmalltalkImage across<br>
forks. I also wanted to support a scheme that would handle being bootstrapped from sources.</p>

<p dir="auto">i.e. the startup process may load in or unload a number of classes from sources at an early stage, and when the time came to think about #startUp they may not have been #initialised, (the #startUp might be their initialisation).</p>

<p dir="auto">So I vaguely recollect that when I had a go at re-doing the startuplist I removed this responsibility to a class of its own, called StartupManager, and removed the class var that holds the list in favour of a voting system.</p>

<p dir="auto">I found some code hiding away (somewhat obfuscated)</p>

<p dir="auto"><a href="https://bazaar.launchpad.net/%7Ekeithy/cuis/System-Support_StartupManager/revision/1#StartupManager-into-Cuis2/1-System-Support-StartupManager.install/0002/StartupManager-(startup-shutdown)-int.1.st" style="color:#3983C4">https://bazaar.launchpad.net/~keithy/cuis/System-Support_StartupManager/revision/1#StartupManager-into-Cuis2/1-System-Support-StartupManager.install/0002/StartupManager-(startup-shutdown)-int.1.st</a></p>

<p dir="auto">Looking through the comments I find</p>

<p dir="auto">StatupManager</p>

<p dir="auto">New simple startUp shutDown protocol</p>

<p dir="auto">classes implement #startUpPriority #shutDownPriority to register.<br>
Note: this code could be hosted on a different class, such as SmalltalkImage,</p>

<p dir="auto">The startUp and shutdownLists are compiled by looking at all implementors of:'</p>

<h1 style="font-size:1.4em">startUpPriority and #shutDownPriority'</h1>

<p dir="auto">Priorities are: #first #earliest #earlier #early #normal #late #later #latest #last'</p>

<p dir="auto">As you can imagine this was very much a first attempt at resolving these problems.</p>

<p dir="auto">Keith</p>
</div>
</div>
</body>
</html>