Example: Specifying the class and selector to be run
Note:
Prior to executing the code in any of these examples, load packaging instructions and create an instance of EaComponentMapManager called ComponentMaps by executing Step 1 of Example: Unloading an application and its subapplications.
To run the class method initialize contained in the class Object after an image component loads, you use the following statements:
"Step 2: Run the method initialize contained in the class Object after a file loads."
| result |
(result := ApplicationDumper new)
...
startupClass: Object selector: #initialize;
...
dumpIntoFileNamed: 'startup.ic' path: '.' using: ComponentMaps.
...
Last modified date: 01/29/2015